Type Alias Error

Represents a single error condition with details about what went wrong.

type Error = {
    code?: string;
    detail?: string;
    source?: ErrorSource;
    status?: number;
    title?: string;
}
Index
code?: string

Machine-readable error code for programmatic handling.

detail?: string

Detailed explanation of the error and suggested remediation steps.

source?: ErrorSource

Identifies the location of the error in the request.

status?: number

HTTP status code associated with the error.

title?: string

Brief human-readable summary of the error.