Documentation
¶
Index ¶
- type Error
- func (err *Error) Cause() error
- func (err *Error) ClearStack() *Error
- func (err *Error) Error() string
- func (w *Error) Format(s fmt.State, verb rune)
- func (e *Error) WithCause(err error) *Error
- func (e *Error) WithExtensions(details map[string]interface{}) *Error
- func (e *Error) WithLocations(locations ...Location) *Error
- func (e *Error) WithPath(path ...string) *Error
- func (e *Error) WithRule(rule string) *Error
- func (err *Error) WithStack() *Error
- type ErrorList
- 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"` Locations []Location `json:"locations,omitempty"` Path []string `json:"path,omitempty"` Extensions map[string]interface{} `json:"extensions,omitempty"` Rule string `json:"-"` // contains filtered or unexported fields }
func (*Error) ClearStack ¶
func (*Error) WithExtensions ¶
func (*Error) WithLocations ¶
Click to show internal directories.
Click to hide internal directories.