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 detailed error information. The code field references the CustomerErrorCode enum to categorize the type of error that occurred. The field array indicates which input fields were involved in causing the error, enabling developers to pinpoint validation issues or other problems in customer data operations.

Example

{ field message code }

Implements

This type does not implement any interfaces.