custerr

package
v0.0.0-...-0aa8bca Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInactiveUser = response.NewError("user is inactive", http.StatusUnauthorized)
View Source
var ErrInvalidAccess = response.NewError("invalid access", http.StatusUnauthorized)
View Source
var ErrInvalidToken = response.NewError("invalid token", http.StatusUnauthorized)
View Source
var ErrNoPermissionFound = errors.New("no permission found")
View Source
var ErrTokenExpired = response.NewError("token expired", http.StatusUnauthorized)
View Source
var ErrUserAlreadyRegistered = response.NewError("user is already registered", http.StatusConflict)
View Source
var ErrUserNotFound = response.NewError("user not found", http.StatusNotFound)
View Source
var ErrWrongPassword = response.NewError("wrong password", http.StatusUnauthorized)

Functions

func NewInvalidInput

func NewInvalidInput(message 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