Type Alias Error

An error object.

type Error = {
    code: string;
    detail?: string;
    meta?: unknown;
    status?: string;
    title: string;
}
Index

Properties

code: string

The error code.

detail?: string

The detailed error message

meta?: unknown

Non-standard information about the error

status?: string

The http status code.

title: string

The error title.