reskit.util.errors
==================

.. py:module:: reskit.util.errors


Exceptions
----------

.. autoapisummary::

   reskit.util.errors.ResError
   reskit.util.errors.RESKitDeprecationError


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

.. py:exception:: ResError

   Bases: :py:obj:`Exception`


   Common base class for all non-exit exceptions.

   Initialize self.  See help(type(self)) for accurate signature.


.. py:exception:: RESKitDeprecationError(commit_hash)

   Bases: :py:obj:`Exception`


   Custom exception for deprecation errors.

   Raises an error stating that the method is deprecated and suggests
   a commit to check out when function is needed for backward
   compatibility.

   commit_hash : str
       The has to the commit with the last working version
       of the deprecated method.


