exception

package
v0.3.72 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotImplemented = errors.New("not implemented")
	ConfigNotFound = errors.New("config file not found")
	ConfigDecoding = func(err error) error { return fmt.Errorf("config decoding failed: %s", err.Error()) }

	EmailAlreadyUsed       = errors.New("email already used")
	EmailOrPasswordInvalid = errors.New("email or password invalid")
	InvalidCredentials     = errors.New("invalid credentials")

	TokenGenerationFail = errors.New("token generation fail")
	InvalidPolicyData   = errors.New("invalid policy data")
	DeleteRoleWithUsers = errors.New("can't delete role with some users")

	NilPointerDeref = errors.New("nil pointer dereference")
	GetOfNoValue    = errors.New("get of no value")
	NoDatabaseFound = errors.New("no database found")
)

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