interface Error {
    code:
        | "internal error"
        | "not found"
        | "conflict"
        | "invalid"
        | "unprocessable entity"
        | "empty value"
        | "unavailable"
        | "forbidden"
        | "too many requests"
        | "unauthorized"
        | "method not allowed"
        | "request too large"
        | "unsupported media type";
    err?: string;
    message?: string;
    op?: string;
}

Properties

Properties

code:
    | "internal error"
    | "not found"
    | "conflict"
    | "invalid"
    | "unprocessable entity"
    | "empty value"
    | "unavailable"
    | "forbidden"
    | "too many requests"
    | "unauthorized"
    | "method not allowed"
    | "request too large"
    | "unsupported media type"

code is the machine-readable error code.

err?: string

Stack of errors that occurred during processing of the request. Useful for debugging.

message?: string

Human-readable message.

op?: string

Describes the logical code operation when the error occurred. Useful for debugging.

MMNEPVFCICPMFPCPTTAAATR