7 ms·
How to write API errors that keep your users moving forward (2021)
- cgranier 4y agoThe beauty of writing more descriptive error codes is that it also forces the developer to think more thoroughly about what is causing a particular error and - hopefully- eliminating the issue all together. I love finding easter eggs in code bases or error messages (as long as they don't introduce more headaches, of course).