bauplan.exceptions
A typed API error kind, deserialized from the type and context fields
of an error response.
Raised on an HTTP 404 response from the API.
Bases:
Raised on an HTTP 405 response from the API.
Bases:
Raised on an HTTP 502 response from the API.
Bases:
Raised on an HTTP 400 response from the API.
Bases:
Base class for all bauplan SDK exceptions.
bauplan.exceptions.BauplanError(
_args = (),
)
Bases:
Exception
An HTTP error from the API.
bauplan.exceptions.BauplanHTTPError(
code: int,
type: str,
message: str,
kind: ApiErrorKind | None = None,
)
Bases:
Base class for errors raised by bauplan job execution.
Bases:
Raised on an HTTP 409 response from the API.
Bases:
Raised when the caller is not permitted to delete tables.
Bases:
Raised on an HTTP 403 response: the caller is not permitted to perform the action.
Bases:
Raised on an HTTP 504 response from the API.
Bases:
Raised on an HTTP 500 response from the API.
Bases:
Raised on an HTTP 400 response from the API.
Bases:
Raised when a pipeline or table-create plan is invalid.
Bases:
Raised when a merge cannot be completed due to conflicting changes.
Bases:
Raised on an HTTP 405 response from the API.
Bases:
Raised when creating a bauplan.schema.Namespace that already exists on the target bauplan.schema.Ref.
Bases:
Raised when the referenced bauplan.schema.Namespace does not exist on the given bauplan.schema.Ref.
Bases:
Raised when a bauplan.schema.Namespace is specified both in the table name (e.g. ns.table) and through an explicit namespace parameter, resulting in an ambiguous reference.
Bases:
Raised when a write operation is attempted against a bauplan.schema.Ref that is not of type BRANCH.
Bases:
Raised on an HTTP 404 response from the API.
Bases:
Raised when a requested catalog resource does not exist.
Bases:
Raised when the destination of a revert operation already exists.
Bases:
Raised when the source and destination of a revert point to the same table snapshot.
Bases:
Raised when the caller is not permitted to revert tables.
Bases:
Raised when the source and destination bauplan.schema.Ref resolve to the same commit hash, making the operation a no-op.
Bases:
Raised on an HTTP 503 response from the API.
Bases:
Raised when a table-create plan apply job finishes in a non-success state.
bauplan.exceptions.TableCreatePlanApplyStatusError(
message: str,
state: TableCreatePlanApplyState,
)
Bases:
Base class for errors raised during a table-create plan workflow.
Bases:
Raised when a table-create plan job finishes in a non-success state.
bauplan.exceptions.TableCreatePlanStatusError(
message: str,
state: TableCreatePlanState,
)
Bases:
Raised on an HTTP 429 response from the API.
Bases:
Raised on an HTTP 401 response: missing or invalid credentials.
Bases:
Raised when an update conflicts with the current catalog state.
Bases: