Skip to content

Errors

errors

Exceptions raised by the bundle API.

Classes

BundleError

Bases: Exception

Base class for bundle-related errors.

BundleNotFoundError

Bases: BundleError

Raised when a bundle source cannot be found.

BundleCollectionNotFoundError

Bases: BundleError, AttributeError, KeyError

Raised when a bundle does not contain a requested collection.

BundleObjectNotFoundError

Bases: BundleError, KeyError

Raised when a collection does not contain a requested object.

BundleSerializationError

Bases: BundleError

Raised when a bundle's serialization or serialized content is unsupported.

BundleCompatibilityError

Bases: BundleError

Raised when a bundle schema is incompatible with installed GKM models.

BundleConflictError

Bases: BundleError, ValueError

Raised when bundle names conflict in a registry or loaded collection.

BundleValidationError

Bases: BundleError

Raised when a bundle object fails reference-model validation.

BundleReferenceError

Bases: BundleError

Raised when a bundle-local JSON Pointer cannot be resolved.

BundlePointerResolutionError

Bases: BundleReferenceError

Raised internally when a JSON Pointer traversal fails.

BundleRepositoryError

Bases: BundleError

Base class for bundle repository-related errors.

BundleRepositoryRequestError

Bases: BundleRepositoryError

Raised when a repository resource cannot be retrieved.

BundleRepositoryResourceNotFoundError

Bases: BundleRepositoryError

Raised when a resource is neither indexed nor completely saved locally.

BundleRepositoryFormatError

Bases: BundleRepositoryError

Raised when a repository resource has an unexpected format.