Eric_Lippert writes on his blog about different types of exceptions: fatal exceptions, boneheaded exceptions, vexing exceptions, exogenous exceptions and how to handle them.
at the core this is about exceptions being used for exceptional circumstances:
in my opinion, this is one of the important principles to observe when writing robust code, together with making illegal states unrepresentable.
Eric_Lippert writes on his blog about different types of exceptions: fatal exceptions, boneheaded exceptions, vexing exceptions, exogenous exceptions and how to handle them.
in my opinion, this is one of the important principles to observe when writing robust code, together with making illegal states unrepresentable.