Handling Software Errors
Bertrand emphasizes that bugs should not be wrapped in exceptions, as they are fundamental issues that need addressing at a higher level in the code. Priyanka adds that expecting certain errors, like null pointer exceptions, indicates a failure in prevention. Instead, invalid inputs should be collected and handled appropriately, while infrastructure problems should retain their original exceptions for clarity at the user interface level.In this clip
From this podcast

Software Engineering Radio - the podcast for professional software developers
Episode 7: Error Handling
Related Questions