multierr

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Errors []error
}

func (*Error) Add

func (err *Error) Add(another error)

func (*Error) Addf

func (err *Error) Addf(msg string, args ...interface{})

func (*Error) As

func (err *Error) As(what interface{}) bool

func (*Error) Error

func (err *Error) Error() string

func (*Error) Is

func (err *Error) Is(what error) bool

Is checks all errors in err against what using errors.Is.

func (*Error) ToError

func (err *Error) ToError() error

Jump to

Keyboard shortcuts

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