Brands a middleware function with the application's resolved error
responder, so the kernel can reach it at the pre-pipeline sites.
Called by @setu-ts/exceptions' errorHandler on the middleware it
returns; the responder is the same instance the middleware publishes into
ctx.state, built once at factory time.
Brands a middleware function with the application's resolved error responder, so the kernel can reach it at the pre-pipeline sites.
Called by
@setu-ts/exceptions'errorHandleron the middleware it returns; the responder is the same instance the middleware publishes intoctx.state, built once at factory time.