Error handling for ArgumentError not evaluated by