errors

package
v0.0.0-...-2c4dd60 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Err403           = errors.New("403: nope")
	Err404           = errors.New("not found")
	ErrUnimplemented = errors.New("unimplemented")
	ErrConnection    = errors.New("connection failed")
	ErrClosed        = errors.New("closed")
	ErrUnsupported   = errors.New("unsupported")
)
View Source
var (
	New       = errors.New
	Errorf    = errors.Errorf
	Wrap      = errors.Wrap
	Wrapf     = errors.Wrapf
	WithStack = errors.WithStack
	Cause     = errors.Cause
)

Functions

func AddStack

func AddStack(err *error)

func Annotate

func Annotate(err *error, msg string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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