Proper custom exception InputError.