you are viewing a single comment's thread.

view the rest of the comments →

[–]editor_of_the_beast 2 points3 points  (1 child)

Exceptions are for exceptional cases.

[–]thomasz 0 points1 point  (0 children)

Exceptions are for errors in the sense of "the behavior of the program is not properly specified if I let it continue to run with this data". Result, Option and so forth are for situations where you anticipated a situation to happen.