package
module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jan 4, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
multierror
a simple package for handling horizontal errors as opposed to veritical (fmt.Errorf %w error wrapping)
Documentation
¶
Package multierror contains a Multierror for combining multiple errors and compiling with errors.Is
Append new and old error together as a Multierror, reusing a multierror if it already exists.
If either error is nil, the other error is returned.
Errors is a collection of errors combined and treated as one.
Error returns combined error.Error output by \n
Is a target error, complies with errors.Is
Unwrap MultiError for conforming to errors.Unwrap
Source Files
¶
Click to show internal directories.
Click to hide internal directories.