I used to do the same thing. Then, the error that spelled &quot;This should never happen!&quot; started to pop up. A couple of years after the original code was written.<p>Now, older and wiser, I include full stack trace and my  explicit assumptions on all errors - orders of magnitude easier to debug than cryptic error messages. Treat your future self kindly !