UserError
Error information returned by mutations
Type Definition
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 throughout the API to communicate validation errors and other failure conditions. It provides structured error information including the specific field that caused the error, a human-readable error message, and an error code for programmatic handling.
Example
{
field
message
code
}Implements
None
Related Types
- String