trek/pretender — pull request #15 by EndangeredMassa (2014-07-03 20:50:30+00:00)
Title: try-catch handler errors

When a router handler errors, pretender never responds. It would be useful to be able to customize this behavior so that I can provide better error messages to the developers working with my project.

This PR adds a hook for `erroredRequest` and documents both `unhandledRequest` and `erroredRequest`.