Prefer Custom Exceptions
Low level built-in exception types offer little context and are much harder to diagnose than custom exceptions that can use the language of the model or application.
Low level built-in exception types offer little context and are much harder to diagnose than custom exceptions that can use the language of the model or application.