errors

package
v0.0.0-...-5237b18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrArgument               = New("error argument")
	ErrEmptyRegistry          = New("registry is empty")
	ErrDegradePass            = New("degrade with pass")
	ErrInvalidConfig          = New("invalid format of default config")
	ErrInvalidCache           = New("invalid format of cache, it could be [FormatConsul|FormatDiscovery]")
	ErrInvalidService         = New("invalid service config")
	ErrNotFound               = New("not found")
	ErrNilConfig              = New("nil config")
	ErrBalancerNotImplemented = New("algorithm has not implemented")
	ErrClosed                 = New("registry is closed. please recreate")
)

Functions

func Errorf

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

func Is

func Is(err, target error) bool

func New

func New(err string) error

func UnWrap

func UnWrap(err error) error

func Wrap

func Wrap(err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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