Skip to content

Error __typenames for type-safe error handling #2538

Answered by spawnia
kevinpijning asked this question in Q&A
Discussion options

You must be logged in to vote

Lighthouse does not provide facilities for returning errors as part of the payload. You can achieve it with custom field resolvers or field middleware.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kevinpijning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants