Class AppSyncHttpError

Thrown when AppSync returns a non-2xx HTTP status. status and (when JSON) body are populated so you can build a meaningful error UI.

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: "HTTP_ERROR" = ...

A stable, machine-readable error code.

status: number
statusText: string
body: unknown