Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphQLError ¶
type GraphQLError struct {
Message string `json:"message"`
Locations []Location `json:"locations,omitempty"`
Path []interface{} `json:"path,omitempty"`
Rule string `json:"-"`
ResolverError error `json:"-"`
Extensions map[string]interface{} `json:"extensions,omitempty"`
}
func New ¶
func New(format string, arg ...interface{}) *GraphQLError
func (*GraphQLError) Error ¶
func (err *GraphQLError) Error() string
type MultiError ¶
type MultiError []*GraphQLError
func News ¶
func News(format string, arg ...interface{}) MultiError
func (MultiError) Error ¶
func (m MultiError) Error() string
Click to show internal directories.
Click to hide internal directories.