khard.exceptions

Custom exceptions for khard

Module Contents

exception khard.exceptions.Cancelled(message: str = 'Canceled', code: int = 1)

Bases: Exception

An exception indicating that the user canceled some operation or some backend operation failed

exception khard.exceptions.AddressBookParseError(filename: str, abook: str, reason: Exception)

Bases: Exception

Indicate an error while parsing data from an address book backend.

__str__() str

Return str(self).

exception khard.exceptions.AddressBookNameError

Bases: Exception

Indicate an error with an address book name.

exception khard.exceptions.ConfigError

Bases: Exception

Errors during config file parsing