Documentation
¶
Index ¶
Constants ¶
View Source
const ( BadRequest = http.StatusBadRequest NotFound = http.StatusNotFound Internal = http.StatusInternalServerError )
View Source
const ( UserKind = iota + 1 InternalKind SystemKind )
Variables ¶
View Source
var (
ErrInvalidPassword = errors.New("invalid password")
)
Functions ¶
Types ¶
type CustomError ¶
func (*CustomError) Error ¶
func (c *CustomError) Error() string
func (*CustomError) Unwrap ¶
func (c *CustomError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.