versioned_collection.errors module¶
Custom errors used in versioned_collection.
- exception versioned_collection.errors.AutoMergeFailedError(branch: str)[source]¶
Bases:
ExceptionRaised when automatically merging two branches produces conflicts.
- exception versioned_collection.errors.BranchNotFound(branch_name: str)[source]¶
Bases:
ExceptionRaised when a branch could not be found.
- exception versioned_collection.errors.CollectionAlreadyInitialised(message: str = 'You tried to call `init()` on an already initialised versioned collection.')[source]¶
Bases:
ExceptionRaised when an initialised collection is tried to be reinitialised.
- exception versioned_collection.errors.InvalidCollectionState[source]¶
Bases:
ExceptionRaised when something terrible happens.