Interface ErrorOptions

interface ErrorOptions {
    code?: string;
    detail?: string;
    id?: string;
    source?: ErrorSource;
    status?: string | number;
    title?: string;
}

Properties

code?: string

An application-specific error code.

detail?: string

A human-readable explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.

id?: string

A unique identifier for this particular occurrence of the problem.

source?: ErrorSource

An object containing references to the source of the error, optionally including any of the following members.

status?: string | number

The HTTP status code applicable to this problem.

title?: string

A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.

Generated using TypeDoc