Hacker News new | ask | show | jobs
by pharmakom 1034 days ago
> An error condition is an indication that your code can not do what its specification says that it does

Meanwhile, in real code-bases, exceptions are used for all sorts of expected but less common situations, like ProductNotFoundException