b2sdk.account_info.exception – Account info exceptions

exception b2sdk.account_info.exception.AccountInfoError(*args, **kwargs)[source]

Bases: b2sdk.exception.B2Error

Base class for all account info errors

exception b2sdk.account_info.exception.CorruptAccountInfo(file_name)[source]

Bases: b2sdk.account_info.exception.AccountInfoError

Raised when an account info file is corrupted

__init__(file_name)[source]
Parameters

file_name (str) – an account info file name

exception b2sdk.account_info.exception.MissingAccountData(key)[source]

Bases: b2sdk.account_info.exception.AccountInfoError

Raised when there is no account info data available

__init__(key)[source]
Parameters

key (str) – a key for getting account data