Skip to Content

CustomerUserError

Error information specific to customer mutations

Type Definition

type CustomerUserError { field: [String] message: String! code: CustomerErrorCode }

Fields

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

Relationships

CustomerUserError is returned by customer-related mutations to provide structured error information. The code field references the CustomerErrorCode enum, which categorizes the specific type of error that occurred. The field array indicates which input fields in the mutation caused the error, allowing clients to associate errors with specific form fields or input parameters.

Example

{ field message code }

Implements

This type does not implement any interfaces.