Documentation ¶
Overview ¶
Package multierr contains simple implementation of multiple error handling. Inspired by https://github.com/hashicorp/go-multierror.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiError ¶
type MultiError []error
MultiError is container for multiple errors.
func (MultiError) ErrorOrNil ¶
func (m MultiError) ErrorOrNil() error
ErrorOrNil returns nil in case there are no errors inside.
func (MultiError) Is ¶
func (m MultiError) Is(target error) bool
Is validates whenever any of included errors Is target error.
Click to show internal directories.
Click to hide internal directories.