Represents the structure of the error returned by the middleware. stacktrace is only included in the response in development mode.

interface ErrorResponse {
    message: string;
    stacktrace?: string;
}

Properties

Properties

message: string
stacktrace?: string