reskit.util.errors#

Exceptions#

ResError

Common base class for all non-exit exceptions.

RESKitDeprecationError

Custom exception for deprecation errors.

Module Contents#

exception reskit.util.errors.ResError#

Bases: Exception

Common base class for all non-exit exceptions.

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

exception reskit.util.errors.RESKitDeprecationError(commit_hash)#

Bases: 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_hashstr

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