Source code for data_registry.exceptions
[docs]
class DataRegistryError(Exception):
"""Base class for exceptions from within this module."""
[docs]
class ConfigurationError(DataRegistryError):
"""Raised if the project is misconfigured."""
[docs]
class UnexpectedError(DataRegistryError):
"""Raised if the failure is unexpected."""
[docs]
class RecoverableError(DataRegistryError):
"""Raised if the failure is expected to be temporary."""
[docs]
class LockFileError(DataRegistryError):
"""Raised if a lock file exists."""