`exceptions` is based on code contributed by [Mark Lentzcner](http://github.com/mzero).