errors

package
v0.73.0-preview.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Join

func Join(errs ...error) error

This is copy pasted from the go 1.20 errors package and can be deleted once the CI is updated.

Types

type CumulatedErrors

type CumulatedErrors struct {
	Errors []error
}

func NewCumulatedErrors

func NewCumulatedErrors() *CumulatedErrors

func (*CumulatedErrors) Add

func (e *CumulatedErrors) Add(err error)

func (*CumulatedErrors) Error

func (e *CumulatedErrors) Error() string

func (*CumulatedErrors) HasAny

func (e *CumulatedErrors) HasAny() bool

Jump to

Keyboard shortcuts

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