Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrIO is returned when underlying IO error is received. ErrIO = errors.New("IO error") // ErrMarshal is returned when an item can't be marshaled into JSON/YAML. ErrMarshal = errors.New("marshalling error") // ErrUnmarshal is returned when an item can't be unmarshaled from JSON/YAML. ErrUnmarshal = errors.New("unmarshalling error") )
Functions ¶
Types ¶
type NestedError ¶
NestedError contains an error inside another error (which may also be nested)
func (NestedError) Error ¶
func (e NestedError) Error() string
Error returns the error message and the message of any wrapped error.
Click to show internal directories.
Click to hide internal directories.