Documentation ¶
Index ¶
- type Error
- func ErrorLocf(file string, line int, col int, message string, args ...interface{}) *Error
- func ErrorPathf(path ast.Path, message string, args ...interface{}) *Error
- func ErrorPosf(pos *ast.Position, message string, args ...interface{}) *Error
- func Errorf(message string, args ...interface{}) *Error
- func WrapPath(path ast.Path, err error) *Error
- type List
- type Location
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Message string `json:"message"` Path ast.Path `json:"path,omitempty"` Locations []Location `json:"locations,omitempty"` Extensions map[string]interface{} `json:"extensions,omitempty"` Rule string `json:"-"` // contains filtered or unexported fields }
Error is the standard graphql error type described in https://facebook.github.io/graphql/draft/#sec-Errors
Click to show internal directories.
Click to hide internal directories.