errors

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFilterMatch     = fmt.Errorf("filter match error")
	ErrMultipleMatches = multipleMatchesError{}
	ErrNoMatches       = noMatchesError{}
)

Functions

func IsConflict added in v0.5.0

func IsConflict(err error) bool

func IsInvalidError

func IsInvalidError(err error) bool

func IsNotFound

func IsNotFound(err error) bool

func IsNotImplementedError added in v0.7.2

func IsNotImplementedError(err error) bool

func IsRetryable added in v0.3.5

func IsRetryable(err error) bool

func Terminal added in v0.11.0

func Terminal(reason, message string, errs ...error) error

Types

type TerminalError added in v0.11.0

type TerminalError struct {
	Reason  string
	Message string
}

func (*TerminalError) Error added in v0.11.0

func (e *TerminalError) Error() string

Jump to

Keyboard shortcuts

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