authelia/internal/storage/errors.go
2020-09-04 13:20:17 +10:00

12 lines
328 B
Go

package storage
import "errors"
var (
// ErrNoU2FDeviceHandle error thrown when no U2F device handle has been found in DB.
ErrNoU2FDeviceHandle = errors.New("No U2F device handle found")
// ErrNoTOTPSecret error thrown when no TOTP secret has been found in DB.
ErrNoTOTPSecret = errors.New("No TOTP secret registered")
)