Files
Proton-API-Bridge/common/error.go
2023-09-06 03:32:30 +02:00

13 lines
527 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. Can be provided with --protondrive-2fa=000000")
ErrMailboxPasswordRequired = errors.New("this account requires a mailbox password")
)