How to know if the error in error representer is a gqlgen error
Abierto
- Lenguaje dominante
- Go
- Estrellas
- 10.8k
- Forks
- 1.3k
- Merge medio
- 2 d 36 min
- PR fusionados (30 d)
- 26
Descripción
In gqlgen error representer I want to just add the error types I know + gqlgen errors (validation parsing etc) and ignore other errors and show just a generic internal server error msg.
I can handle my own error types using errors.As. What should I do for gqlgen's errors? is there an exported type?
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.