Type alias HttpErrorHandler

HttpErrorHandler: ((error, request, response) => any)

Type declaration

    • (error, request, response): any
    • A HTTP error handler.

      Parameters

      • error: any

        The error.

      • request: IncomingMessage

        The request context.

      • response: ServerResponse

        The response context.

      Returns any

Generated using TypeDoc