🌱 This post is still growing and likely will change as best practices evolve 🌳
GraphQL errors are something many of us struggle with. Good practices are emerging but the community has not yet settled on a convention. I hope this guide helps demystify the many ways you can structure errors in your GraphQL servers, and the tradeoffs each of them make.
Stage 1: GraphQL Errors AKA Top-Level Errors
The GraphQL Specification describes errors quite well, so why are they even confusing in the first place?