Source code for rics.translation.exceptions

"""General errors for the translation suite."""


[docs]class ConfigurationError(ValueError): """Raised in case of bad configuration."""
[docs]class ConnectionStatusError(ValueError): """Raised when trying to perform operations in a bad online/offline state."""
[docs]class TranslationError(ValueError): """Base class for translation errors."""
[docs]class TooManyFailedTranslationsError(TranslationError): """Raised if too many IDs fail to translate."""