safeerr

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 3 Imported by: 4

README

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InternalServerError = errors.New(http.StatusText(http.StatusInternalServerError))
	BadRequest          = errors.New(http.StatusText(http.StatusBadRequest))
	LimitOutOfRange     = errors.New("limit out of 1-100")
)

Functions

func InvalidParam

func InvalidParam(name string) error

func NotFound

func NotFound(name 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