Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Displaying and propagating accurate error messages is an entire science unto itself... ...I can see why it's sometimes sensible to invest resource elsewhere and fall back to 'something'.


IMHO if error handling is rocket science, the error is you


Perhaps you're not handling enough errors ;-)


I use the term “unexpected error” because if the code got to this alert it wasn’t caught by any traps I’d made for the “expected” errors.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: