Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiError ¶
type MultiError struct {
// contains filtered or unexported fields
}
MultiError implements error interface. An instance of MultiError has zero or more errors.
func NewMultiError ¶
func NewMultiError() *MultiError
NewMultiError: returns a thread safe instance of multierror
func (*MultiError) HasError ¶
func (m *MultiError) HasError() error
HasError checks if MultiError has any error.
func (*MultiError) Push ¶
func (m *MultiError) Push(errString string)
Push adds an error to MultiError.
Click to show internal directories.
Click to hide internal directories.