Skip to Content

UserError

Error information returned by mutations

Type Definition

type UserError { field: [String] message: String! code: String }

Fields

FieldTypeDescription
field[String]Path to the input field that caused the error
messageString!The error message
codeStringThe error code

Relationships

UserError is a standalone error type used by mutations throughout the API to communicate validation errors and other failure conditions. It provides structured error information including the specific field that caused the error, a human-readable error message, and an error code for programmatic handling.

Example

{ field message code }

Implements

None

  • String