GraphQL Error Handling Conventions
GraphQL transports over HTTP 200 and reports failures in a top-level `errors` array with paths, nulling the failed field and bubbling through non-null parents. Modern practice splits errors: system faults go in `errors`; expected domain outcomes become typed result unions in the schema itself.
This Concept is waiting for its first lesson!
GraphQL transports over HTTP 200 and reports failures in a top-level `errors` array with paths, nulling the failed field and bubbling through non-null parents. Modern practice splits errors: system faults go in `errors`; expected domain outcomes become typed result unions in the schema itself.
Are you a teacher? Sign in to start contributing.
Sign In