Thrown when AppSync returns a non-2xx HTTP status. status and (when JSON) body are populated so you can build a meaningful error UI.
status
body
Readonly
A stable, machine-readable error code.
Thrown when AppSync returns a non-2xx HTTP status.
statusand (when JSON)bodyare populated so you can build a meaningful error UI.