errors

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNilRouter        = errors.New("router is nil")
	ErrFHServerShutdown = errors.New("cannot complete graceful shutdown")
	ErrNotFound         = errors.New("route not found")
	ErrNoMethod         = errors.New("method not allowed")
	ErrServerError      = errors.New("internal server error")
	ErrRecordNotFound   = errors.New("record not found")
	ErrConflict         = errors.New("conflict")
)

Functions

func WrappedError

func WrappedError(method, action string, 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