TL;DR:
Planning for failure cases makes for a better user experience.
Resources #
General
- Error Handling – Google Developer Documentation Style Guide
- Best Practices for API Error Handling – Postman Blog
- Exception Handling Best Practices for Clean Code – Toptal
- Best Practices for Exceptions – Microsoft Learn (.NET)
- Error Handling Best Practices – Auth0