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
meta?: { errorType?: string; locale?: string; sourceErrors?: string }

Type Declaration

  • OptionalerrorType?: string

    The error type.

  • Optionallocale?: string
  • OptionalsourceErrors?: string
title: string