package
Version:
v1.0.0-rc.3
Opens a new window with list of versions in this module.
Published: Mar 7, 2017
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package multierror provides a simple way to treat a collection of errors as
a single error.
Error wraps a []error to implement the error interface.
Append adds an error to the collection. Adding a nil error is a no-op.
AsError converts the collection to a single error value.
Note that failing to use AsError will almost certainly lead to bugs with
non-nil interfaces containing nil concrete values.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.