errors

package
v0.0.0-...-b2f7ccc Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadRequest         = errors.New("errors: bad request")           // 400
	ErrUnauthorized       = errors.New("errors: unauthorized")          // 401
	ErrForbidden          = errors.New("errors: forbidden")             // 403
	ErrNotFound           = errors.New("errors: not found")             // 404
	ErrConflict           = errors.New("errors: conflict")              // 409
	ErrPreconditionFailed = errors.New("errors: precondition failed")   // 412
	ErrTooManyRequests    = errors.New("errors: too many requests")     // 429
	ErrInternal           = errors.New("errors: internal server error") // 500
	ErrServiceUnabailable = errors.New("errors: service unavailable")   // 503
	ErrGatewayTimeout     = errors.New("errors: gateway timeout")       // 504
	ErrUnknown            = errors.New("errors: unknown error")         // 500
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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