then why not raise a custom exception (or use fixed error message)?