Documentation ¶ Index ¶ type Errors func NewErrors() Errors func NewErrorsWithBuff(size int) Errors func (errs *Errors) Add(e ...error) func (errs Errors) Join() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Errors ¶ type Errors []error func NewErrors ¶ func NewErrors() Errors func NewErrorsWithBuff ¶ func NewErrorsWithBuff(size int) Errors func (*Errors) Add ¶ func (errs *Errors) Add(e ...error) func (Errors) Join ¶ func (errs Errors) Join() error Join returns an error that wraps the self Errors. The error formats as the concatenation of the strings obtained by calling the Error method of each element of errs, with a newline between each string. Source Files ¶ View all Source files errors.go Click to show internal directories. Click to hide internal directories.