File: error.go

package info (click to toggle)
golang-github-henrybear327-proton-api-bridge 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 668 kB
  • sloc: makefile: 3
file content (12 lines) | stat: -rw-r--r-- 527 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
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")
)