# CustomerUserError Error information specific to customer mutations ## Type Definition ```graphql type CustomerUserError { field: [String] message: String! code: CustomerErrorCode } ``` ## Fields | Field | Type | Description | |-------|------|-------------| | field | [String] | Path to the input field that caused the error | | message | String! | The error message | | code | CustomerErrorCode | The 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 ```graphql { field message code } ``` ## Implements This type does not implement any interfaces. ## Related Types - [String](/reference/storefront/v1/scalars/string) - [CustomerErrorCode](/reference/storefront/v1/objects/customer-error-code)