errutils

package
v0.0.0-...-c4d1043 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateErrs

func AggregateErrs(ctx context.Context, dest chan error, src <-chan error, srcInfo string)

func CmdExitCodeFromError

func CmdExitCodeFromError(err error) (int, error)

CmdExitCodeFromError ...

func Errorf

func Errorf(format string, args ...interface{}) error

func Errors

func Errors(msgs []string) error

func Is

func Is(err, target error) bool

func IsExitStatusError

func IsExitStatusError(err error) bool

IsExitStatusError ...

func IsExitStatusErrorStr

func IsExitStatusErrorStr(errString string) bool

IsExitStatusErrorStr ...

func New

func New(text string) error

func Wrapf

func Wrapf(err error, format string, args ...interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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