Skip to main content
objectGraphQlError

Implements

Fields

code
String!

Kind of failure. ValidationError: the input is invalid; details names each failing field. NotFoundError: an id doesn't exist; check it. ConflictError: the change clashes with the current state (a name already in use, an item still referenced, work still running); see message. OptimisticConcurrencyError: stale etag; re-read and retry. UnauthorizedError or ForbiddenError: the caller has no access. A mutation's own text names any other code it returns; any code not named here or there is an unexpected failure.

Failing input fields of a ValidationError, one item per field: key names the input field, value holds its failure messages joined by ;. Set only for ValidationError.

message
String!

Readable description of the failure.