errors

package
v0.0.0-...-ef937ea Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActiveTotp       = errors.New("User's totp is active")
	NoSecretField    = errors.New("No secret field")
	NoPeriodField    = errors.New("No period field")
	NoIssuerField    = errors.New("No issure field")
	NoDigitsField    = errors.New("No digits field")
	NoAlgorithmField = errors.New("No algorithm field")
	NoUserId         = errors.New("No totp for this user id")
	WrongTotpCode    = errors.New("Wrong totp code")
	NoTotpId         = errors.New("No totp with this totp id")
	TotpIsDisabled   = errors.New("Totp is disabled yet")
	NoId             = errors.New("No such user and totp ids")
	TotpIsActive     = errors.New("Totp is active yet")
	NoUserName       = errors.New("No user name")
	EmptyTotpId      = errors.New("Empty totp id")
	EmptyUserId      = errors.New("Empty user id")
)

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