dlt.destinations.impl.lance.exceptions
is_lance_manifest_misconfiguration
def is_lance_manifest_misconfiguration(
e: Exception, manifest_enabled: Optional[bool]) -> bool
Tells if lance reports manifest mode as disabled while the configuration enables it, which happens when the manifest namespace fails to initialize (eg. bad credentials).
is_lance_undefined_entity_exception
def is_lance_undefined_entity_exception(e: Exception,
manifest_enabled: Optional[bool] = None
) -> bool
Returns True if exception indicates an undefined entity (e.g. missing namespace, table, or branch).
The message check covers untyped lance core errors:
- bug: https://github.com/lance-format/lance/issues/6240
checkout_version()raisesValueErrorfor a missing branch andOSErrorfor a missing version, both with "not found" messages