Passing the middleware stack to the error handler
Merge pull request #304 from avoidwork/MiddlewareError

Passing the middleware stack to the error handler