# UserError Error information returned by mutations ## Type Definition ```graphql type UserError { field: [String] message: String! code: String } ``` ## Fields | Field | Type | Description | |-------|------|-------------| | field | [String] | Path to the input field that caused the error | | message | String! | The error message | | code | String | The error code | ## Relationships UserError is a standalone error type used by mutations to communicate validation errors and other error conditions to clients. The `field` array can reference nested input object paths to pinpoint exactly where an error occurred in the input data structure. ## Example ```graphql { field message code } ``` ## Implements This type does not implement any interfaces. ## Related Types - String