Documentation ¶
Index ¶
Constants ¶
View Source
const Indent = " "
View Source
const Prefix = "- "
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MultiError ¶
type MultiError struct {
Causes []error
}
MultiError wraps multiple errors and formats them for multi-line output.
func New ¶
func New(causes ...error) *MultiError
New returns a new MultiError wrapping the specified error list.
func (*MultiError) Error ¶
func (mve *MultiError) Error() string
func (*MultiError) Errors ¶
func (mve *MultiError) Errors() []error
Click to show internal directories.
Click to hide internal directories.