The two kinds of error
Hacker News
March 1, 2026
In my mind, errors are divided into two categories. Expected errors, which are part of normal operation, aren't the developer's fault, and should be handled. Unexpected errors are the developer's fault, likely indicate a bug, and are allowed to crash.
Verticals
techstartups
Originally published on Hacker News on 3/1/2026