You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, I want to ask you a question to cutomise errors.
I know we can customise errors by using hooks.
But it is only when using resolvers, I guess.
Do you have any plans to implement functions to customise errors even if using
AddTransport.MultipartForm.MaxUpoadSize
?What happened?
can't return my error when using
AddTransport.MultipartForm.MaxUpoadSize
.MaxUploadSize
can define the max limit of file size and return the error"failed to parse multipart form, request body too large"
only.What did you expect?
I want to customise this error message regarding to
gqlerror
.Minimal graphql.schema and models to reproduce
None.
versions
gqlgen version
?v.011.1
go version
?1.13.4
go modules
The text was updated successfully, but these errors were encountered: