Expand description
Canonical GraphQL protocol error types.
Implements the GraphQL specification
error format used across the FraiseQL workspace — WebSocket subscription protocol
(graphql-ws v5+), HTTP response bodies, and federation subgraph communication.
§Structure
{
"message": "Cannot query field 'id' on type 'User'.",
"locations": [{ "line": 3, "column": 5 }],
"path": ["user", "friends", 0, "name"],
"extensions": { "code": "FIELD_NOT_FOUND" }
}Structs§
- GraphQL
Error - A GraphQL protocol-level error as defined in the GraphQL specification §7.1.2.
- GraphQL
Error Location - Location in a GraphQL document (source text) where an error occurred.