interface ErrorPayload {
    message: string;
    stack?: string;
    statusCode: number;
    type: string;
}

Properties

message: string

The error message.

stack?: string

The error stack.

statusCode: number

The HTTP status code.

type: string

The error type.