Interface IServerErrorHandlerContext

A context for a server error handler.

interface IServerErrorHandlerContext {
    error: any;
    executeDefault: boolean;
    request: IncomingMessage;
    response: ServerResponse<IncomingMessage>;
}

Properties

error: any

The thrown error.

executeDefault: boolean

Also execute default logic or not.

Default

true

request: IncomingMessage

The request context.

response: ServerResponse<IncomingMessage>

The response context.

Generated using TypeDoc