Type Alias Error

An Error object.

type Error = {
    code: string;
    detail?: string;
    meta?: { errorType?: string; locale?: string; sourceErrors?: string };
    title: string;
}
Index

Properties

Properties

code: string

The API error code.

detail?: string

A human-readable problem description of the issue.

meta?: { errorType?: string; locale?: string; sourceErrors?: string }

Additional properties and information regarding the issue.

Type declaration

  • OptionalerrorType?: string

    The error type.

  • Optionallocale?: string

    Locale

  • OptionalsourceErrors?: string

    The source errors (stack trace).

title: string

Title of the type of API Error.