Documentation ¶
Index ¶
Constants ¶
View Source
const ParseFailed = "GRAPHQL_PARSE_FAILED"
View Source
const ValidationFailed = "GRAPHQL_VALIDATION_FAILED"
Variables ¶
This section is empty.
Functions ¶
func RegisterErrorType ¶
RegisterErrorType should be called by extensions that want to customize the http status codes for errors they return
Types ¶
type ErrorKind ¶
type ErrorKind int
func GetErrorKind ¶
get the kind of the first non User error, defaults to User if no errors have a custom extension
Click to show internal directories.
Click to hide internal directories.