Returned when the response from the API Extension could not be parsed successfully (such as a 500 HTTP status code, or an invalid JSON response).

interface GraphQLExtensionBadResponseError {
    code: "ExtensionBadResponse";
    extensionBody?: string;
    extensionErrors: ExtensionError[];
    extensionExtraInfo?: any;
    extensionId: string;
    extensionKey?: string;
    extensionStatusCode?: number;
    localizedMessage?: LocalizedString;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

code: "ExtensionBadResponse"
extensionBody?: string

The response body returned by the Extension.

extensionErrors: ExtensionError[]

Additional errors related to the API Extension.

extensionExtraInfo?: any

Any information that should be returned to the API caller.

extensionId: string

Unique identifier of the Extension.

extensionKey?: string

User-defined unique identifier of the Extension.

extensionStatusCode?: number

Http status code returned by the Extension.

localizedMessage?: LocalizedString

User-defined localized description of the error.

Generated using TypeDoc