Files
Proton-API-Bridge/common/error.go
Chun-Hung Tseng 6570484818 Initial commit
2023-06-23 08:58:08 +02:00

12 lines
391 B
Go

package common
import "errors"
var (
ErrKeyPassOrSaltedKeyPassMustBeNotNil = errors.New("either keyPass or saltedKeyPass must be not nil")
ErrFailedToUnlockUserKeys = errors.New("failed to unlock user keys")
ErrUsernameAndPasswordRequired = errors.New("username and password are required")
Err2FACodeRequired = errors.New("this account requires a 2FA code")
)