multierror

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(err error, errors ...error) error

Append returns a new multi error all errors concatenated. Errors that are multi errors get flattened, nil is ignored.

func New

func New(errors ...error) error

New combines several errors into a single error. Parameters that are nil are ignored. If no errors are passed in or all parameters are nil, then the result is also nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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