Error handler for middleware pipelines.
If it returns a Response, the pipeline will short-circuit and return it. If it throws, the thrown value is re-processed by the pipeline error handling. If it returns void/undefined, the pipeline continues to the next error handler.
Error handler for middleware pipelines.
If it returns a Response, the pipeline will short-circuit and return it. If it throws, the thrown value is re-processed by the pipeline error handling. If it returns void/undefined, the pipeline continues to the next error handler.