multierror

package
v0.0.0-...-0da46e6 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 3 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 struct {
	// contains filtered or unexported fields
}

Errors allows for returning multiple errors in one error

func (*Errors) Add

func (e *Errors) Add(err error)

func (*Errors) AddF

func (e *Errors) AddF(err error, mod func(error) error)

func (*Errors) Empty

func (e *Errors) Empty() bool

func (*Errors) ToError

func (e *Errors) ToError() error

ToError returns the error if populated, or nil if none exists.

Jump to

Keyboard shortcuts

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