Hacker News new | ask | show | jobs
by Cthulhu_ 974 days ago
> = exceptional situations that prevent the program to do what we thought the user wanted

Just to latch onto this remark, are they actually exceptional? Say you have a REST API, does something with a database. 1 in 1000 requests fails, so it's exceptional I suppose. But then you go web scale, and your application gets called a million times per minute. Suddenly you're dealing with 1000 errors per minute; not so exceptional anymore.

Besides, errors can also be things like 'SQL row not found', which are expected in the normal run of things.