errors

package
v0.0.0-...-3d2cefe Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInternal              = errors.New("internal server error")
	ErrMissingImplementation = errors.New("missing implementation")
	ErrAlreadyExists         = errors.New("entity already exists")
	ErrNotFound              = errors.New("entity not found")
	ErrInvalidArgument       = errors.New("invalid argument")
)

Functions

func Is

func Is(err, target error) bool

func New

func New(msg string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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