Interface MessageHttpErrorDialogData

interface MessageHttpErrorDialogData {
    body?: any;
    error: { message: string } & Record<string, unknown>;
    headers: Record<string, string[]>;
    message: string;
    method: string;
    name: string;
    ok: boolean;
    stack?: string;
    status: number;
    statusText: string;
    timestamp: number;
    type: ResponseHeader | Response;
    url: null | string;
}

Hierarchy

Properties

body?: any
error: { message: string } & Record<string, unknown>
headers: Record<string, string[]>

All response headers.

message: string
method: string
name: string
ok: boolean

Whether the status code falls in the 2xx range.

stack?: string
status: number

Response status code.

statusText: string

Textual description of response status code, defaults to OK.

Do not depend on this.

timestamp: number
type: ResponseHeader | Response

Type of the response, narrowed to either the full response or the header.

url: null | string

URL of the resource retrieved, or null if not available.