Source code for twindb_backup.exceptions

"""Module that describes exceptions of twindb_backup module"""


[docs]class TwinDBBackupError(Exception): """Catch-all exceptions"""
[docs]class OperationError(TwinDBBackupError): """High level exceptions of twindb_backup package"""
[docs]class LockWaitTimeoutError(TwinDBBackupError): """Class that describes exception of lock wait timeout"""
[docs]class TwinDBBackupInternalError(TwinDBBackupError): """Internal errors in the tool itself"""