1
0
Fork 0
mirror of synced 2024-11-16 14:15:34 -05:00
ovpn-admin/backend/errors.go
2022-12-30 17:25:21 +03:00

18 lines
854 B
Go

package backend
import "errors"
var (
userSecretDoesNotExistError = errors.New("user secret does not exist")
userAlreadyExistError = errors.New("user already exist")
userDeletedError = errors.New("user marked as deleted")
userRestoreError = errors.New("failed to restore user")
userRevokeError = errors.New("failed to revoke user")
userDeleteError = errors.New("failed to delete user")
userIsNotActiveError = errors.New("user is not active")
passwordMismatchedError = errors.New("password mismatched")
tokenMismatchedError = errors.New("token mismatched")
checkAppError = errors.New("failed to check 2FA app")
registerAppError = errors.New("failed to register 2FA app")
authBackendDisabled = errors.New("auth backend not enabled yet")
)