Skip to content
Discussion options

You must be logged in to vote

GraphQL spec doesn't have any way to define types of errors, and usually it's done based on project needs. We can't really expect specific errors, or even error types, so all we can do here is to allow you to override it as a generic.

I added an option to override the default error type, if that helps: #5447 . I will be available in the next release (1.1.0, and already available in alpha: @graphql-codegen/[email protected])

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gmencz
Comment options

Answer selected by dotansimha
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