dlt.destinations.impl.lance.exceptions
is_lance_undefined_entity_exception
def is_lance_undefined_entity_exception(e: Exception) -> bool
Returns True if exception indicates an undefined entity (e.g. missing namespace, table, or branch).
Used to work around:
- bug: https://github.com/lance-format/lance/issues/6240
- fact that
LanceDataset.checkout_version()raisesValueErrorwith "not found" message if version does not exist