Class AppSyncGraphQLError<TData>

Thrown when the response is HTTP 200 but contains a non-empty errors array. Inspect errors for the per-field details and data for whatever the server managed to return.

Type Parameters

  • TData = unknown

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: "GRAPHQL_ERROR" = ...

A stable, machine-readable error code.

errors: readonly GraphQLFormattedError[]
data: undefined | TData