Migration exception
mongorunway.domain.migration_exception
¤
__all__: typing.Sequence[str] = ('MigrationError', 'MigrationFailedError', 'MigrationTransactionFailedError', 'NothingToUpgradeError', 'NothingToDowngradeError', 'MigrationFilesChangedError', 'MigrationFileChangedError')
module-attribute
¤
MigrationBusinessRuleBrokenError
¤
MigrationError
¤
MigrationFailedError
¤
MigrationFileChangedError
¤
Bases: BaseException
Source code in mongorunway\domain\migration_exception.py
__slots__: typing.Sequence[str] = ('failed_migration_name', 'failed_migration_version')
instance-attribute
class-attribute
¤
failed_migration_name = migration_name
instance-attribute
¤
failed_migration_version = migration_version
instance-attribute
¤
__init__(migration_name, migration_version)
¤
Source code in mongorunway\domain\migration_exception.py
MigrationFilesChangedError
¤
Bases: BaseException
Source code in mongorunway\domain\migration_exception.py
MigrationTransactionFailedError
¤
Bases: MigrationFailedError
Source code in mongorunway\domain\migration_exception.py
NothingToDowngradeError
¤
Bases: MigrationFailedError
Source code in mongorunway\domain\migration_exception.py
NothingToUpgradeError
¤
Bases: MigrationFailedError