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`.