Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiError ¶
type MultiError []error
func New ¶
func New() *MultiError
func (*MultiError) AnyErrors ¶
func (m *MultiError) AnyErrors() bool
AnyErrors returns true if we have any errors
func (*MultiError) Error ¶
func (m *MultiError) Error() (msg string)
Error to satisfy the Go Error interface
func (*MultiError) Errors ¶
func (m *MultiError) Errors() []error
Errors returns all collected errors if any
func (*MultiError) VerboseError ¶
func (m *MultiError) VerboseError() error
VerboseError returns an error composed by all the errors we have in the list
Click to show internal directories.
Click to hide internal directories.