exterrors

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL