# 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 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 ```graphql { field message code } ``` ## Implements This type does not implement any interfaces. ## Related Types - [CustomerErrorCode](/reference/storefront/1.3.0/objects/customer-error-code)