Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MultiError ¶
type MultiError []error
MultiError is an error collection as a single error. error[i] might be nil if there is no error.
func NewMultiError ¶
func NewMultiError(size int) MultiError
NewMultiError creates MultiError instance with the given size.
func (MultiError) HasError ¶
func (me MultiError) HasError() bool
HasError returns if there is an error in the errors.
Click to show internal directories.
Click to hide internal directories.