Setu-TS
    Preparing search index...

    Function brandErrorResponder

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

      Parameters

      • middleware: object

        The middleware function to brand

      • responder: IErrorResponder

        The resolved error responder

      Returns void

      0.1.0