Skip to content

Glossary: GraphQL APIs

Masked error

Also written: Unexpected error, masked errors

Yoga hides the real message of an ordinary thrown `Error` and sends clients only "Unexpected error.", logging the details on the server. This stops leaks of SQL or file paths.

Where the book teaches it

Related terms

GraphQLError