mirror of
https://github.com/henrybear327/Proton-API-Bridge.git
synced 2025-12-24 08:07:56 -05:00
13 lines
527 B
Go
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")
|
|
)
|