summaryrefslogtreecommitdiff
path: root/internal/storage/errors.go
blob: 1f8d4f9a72efa4fd6fe93fdea0471809e370eb7d (plain)
1
2
3
4
5
6
7
8
9
10
11
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")
)