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.