Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorLocation ¶
type ErrorLocation struct {
// contains filtered or unexported fields
}
type ErrorStruct ¶
type ErrorStruct struct { Message string `json:"message"` Locations []GQLErrorLocation `json:"locations,omitempty"` Path []interface{} `json:"path,omitempty"` Extensions ExtensionError `json:"extensions,omitempty"` }
type ExtensionError ¶
type ExtensionError map[string]interface{}
type Fatal ¶
type Fatal struct { GQLError ErrorStruct }
func NewFatal ¶
func NewFatal(message string, extensions ExtensionError) *Fatal
type GQLError ¶
type GQLError interface {
GetError() ErrorStruct
}
type GQLErrorLocation ¶
type Warning ¶
type Warning struct { GQLError ErrorStruct }
func NewWarning ¶
func NewWarning(message string, extensions ExtensionError) *Warning
func (*Warning) Error ¶
func (o *Warning) Error() (r ErrorStruct)
Click to show internal directories.
Click to hide internal directories.