Type alias NextFunction

NextFunction: ((err?) => void)

Type declaration

    • (err?): void
    • Next function for a context

      Parameters

      • Optional err: unknown

        Pass an error to the next function to stop the execution of the context, it will be handled by the error handler

      Returns void

Generated using TypeDoc