Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiError ¶
type MultiError struct { Errors []error // contains filtered or unexported fields }
MultiError holds multiple errors
func NewMultiError ¶
func NewMultiError(errors []error) *MultiError
NewMultiError creates and returns an Error with error splice
func (*MultiError) Append ¶
func (e *MultiError) Append(err error)
func (*MultiError) Error ¶
func (e *MultiError) Error() string
Error returns the message of the actual error
func (*MultiError) ErrorOrNil ¶
func (e *MultiError) ErrorOrNil() error
Click to show internal directories.
Click to hide internal directories.