diffsync.exceptions

Exception classes used in DiffSync.

exception diffsync.exceptions.ObjectAlreadyExists

Bases: diffsync.exceptions.ObjectStoreException

Exception raised when trying to store a DiffSyncModel or DiffElement that is already being stored.

exception diffsync.exceptions.ObjectCrudException

Bases: Exception

Base class for various failures during CRUD operations.

exception diffsync.exceptions.ObjectNotCreated

Bases: diffsync.exceptions.ObjectCrudException

Exception raised if an object Create operation failed.

exception diffsync.exceptions.ObjectNotDeleted

Bases: diffsync.exceptions.ObjectCrudException

Exception raised if an object Delete operation failed.

exception diffsync.exceptions.ObjectNotFound

Bases: diffsync.exceptions.ObjectStoreException

Exception raised when trying to access a DiffSyncModel that isn’t in storage.

exception diffsync.exceptions.ObjectNotUpdated

Bases: diffsync.exceptions.ObjectCrudException

Exception raised if an object Update operation failed.

exception diffsync.exceptions.ObjectStoreException

Bases: Exception

Base class for various failures during object storage in local caches.

exception diffsync.exceptions.ObjectStoreWrongType

Bases: diffsync.exceptions.ObjectStoreException

Exception raised when trying to store a DiffSyncModel of the wrong type.