Type Alias Error

type Error = {
    argument?: string;
    code: string;
    errorId?: string;
    issue?: string;
    meta?: {
        argument?: string;
        details?: string;
        errorId?: string;
        resource?: string;
        resourceId?: string;
    };
    resource?: string;
    resourceId?: string;
    title?: string;
}
Index

Properties

argument?: string

The argument

code: string

The unique code for the error

errorId?: string

The unique id of the error instance

issue?: string

The issue code

meta?: {
    argument?: string;
    details?: string;
    errorId?: string;
    resource?: string;
    resourceId?: string;
}

Type declaration

  • Optionalargument?: string

    The argument

  • Optionaldetails?: string

    Extra details for what may have caused the error

  • OptionalerrorId?: string

    The unique id of the error instance

  • Optionalresource?: string

    The resource type that the error occurred on

  • OptionalresourceId?: string

    The resource id that the error occurred on

resource?: string

The resource type that the error occurred on

resourceId?: string

The resource id that the error occurred on

title?: string

A summary of what went wrong