Use a custom exception, not built-in value error