khard.exceptions¶
Custom exceptions for khard
Exceptions¶
An exception indicating that the user canceled some operation or |
|
Indicate an error while parsing data from an address book backend. |
|
Indicate an error with an address book name. |
|
Errors during config file parsing |
Module Contents¶
- exception khard.exceptions.Cancelled(message: str = 'Canceled', code: int = 1)¶
Bases:
ExceptionAn exception indicating that the user canceled some operation or some backend operation failed
- code = 1¶
- exception khard.exceptions.AddressBookParseError(filename: str, abook: str, reason: Exception)¶
Bases:
ExceptionIndicate an error while parsing data from an address book backend.
- filename¶
- abook¶
- reason¶
- __str__() str¶
Return str(self).
- exception khard.exceptions.AddressBookNameError¶
Bases:
ExceptionIndicate an error with an address book name.
- exception khard.exceptions.ConfigError¶
Bases:
ExceptionErrors during config file parsing