Documentation ¶
Overview ¶
Package multierr is a Go package for aggregating multiple errors into a single error.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error is an error type that is used to aggregate multiple errors into a single error.
func Append ¶
Append returns an Error by appending errs onto err.
If err is not an Error then it will be turned into one. Any nil errors contained within errs are removed.
func New ¶
New returns a new Error that contains errs. Any nil errors contained within errs are removed.
Click to show internal directories.
Click to hide internal directories.