Skip to content

Errors

Everything this package raises derives from LakehouseError.

databaas_utils.errors

Exception hierarchy. Everything raised by this package derives from LakehouseError.

LakehouseError

Bases: Exception

Base for every error this package raises.

ConfigurationError

Bases: LakehouseError

Settings are missing, incomplete, or mutually inconsistent.

ConnectionNotConfigured

ConnectionNotConfigured(conn_id: str, reason: str = '')

Bases: ConfigurationError

A named Airflow connection could not be resolved.

Raised rather than silently falling back to local storage: a typo'd conn_id or an expired secret must fail the task, not redirect a production write to an ephemeral pod filesystem.

Record the conn_id and an optional human-readable reason.

AuthenticationError

Bases: LakehouseError

Acquiring an access token failed.

RemoteSigningUnavailable

Bases: LakehouseError

Remote-signed object storage was requested but the runtime cannot do it.

Usually means obstore-databaas is not installed: RemoteSignedS3Store ships only in that distribution, and it shares the top-level module name obstore with upstream obstore.

SignError

Bases: LakehouseError

Lakekeeper's signer refused or failed to sign a request.