:py:mod:`khard.exceptions`
==========================

.. py:module:: khard.exceptions

.. autoapi-nested-parse::

   Custom exceptions for khard



Module Contents
---------------

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


   Bases: :py:obj:`Exception`

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


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


   Bases: :py:obj:`Exception`

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

   .. py:method:: __str__() -> str

      Return str(self).



.. py:exception:: AddressBookNameError


   Bases: :py:obj:`Exception`

   Indicate an error with an address book name.


.. py:exception:: ConfigError


   Bases: :py:obj:`Exception`

   Errors during config file parsing


