Skip to main content

bauplan.exceptions


classAPIResponseWithError

bauplan.schema.APIResponseWithError(
*,
metadata: bauplan.schema.APIMetadata,
ref: Optional[Annotated[Union[bauplan.schema.Branch,
bauplan.schema.Tag,
bauplan.schema.DetachedRef],
FieldInfo(
annotation=NoneType,
required=True,
discriminator='type'
)]] = None,
error: bauplan.schema.APIError
)-> None

classAccessDeniedError


classApiMethodError


classApiRouteError


classBadGatewayError


classBadRequestError


classBauplanError

Base exception class for all Bauplan-related errors. Wraps standard Exception.


classBauplanHTTPError

def new_from_response

Parameters

outREQUIRED(APIResponseWithError)

classBauplanQueryError

Raised when a query execution fails, times out, is cancelled, or is rejected by the system.

Bases: JobError


classBranch

bauplan.schema.Branch(
*,
name: str,
hash: str | None = None,
type: Literal['BRANCH'] = 'BRANCH'
)-> None

Bases: Ref


classBranchExistsError


classBranchHeadChangedError


classBranchNotFoundError


classConflictError


classCreateBranchForbiddenError


classCreateNamespaceForbiddenError


classCreateTagForbiddenError


classDeleteBranchForbiddenError


classDeleteNamespaceForbiddenError


classDeleteTableForbiddenError


classDeleteTagForbiddenError


classDetachedRef

bauplan.schema.DetachedRef(
*,
name: str,
hash: str | None = None,
type: Literal['DETACHED'] = 'DETACHED'
)-> None

Bases: Ref


classExceptionResult

Container for exception handler result


classForbiddenError


classGatewayTimeoutError


classInternalError


classInvalidDataError


classInvalidPlanError


classInvalidRefError


classJobError


classMergeConflictError


classMergeForbiddenError


classMethodNotAllowedError


classMismatchedPythonVersionsError


classMissingMagicCellError


classMissingPandasError


classNamespace

bauplan.schema.Namespace(
*,
name: str,
ref: Optional[Annotated[Union[bauplan.schema.Branch,
bauplan.schema.Tag,
bauplan.schema.DetachedRef],
FieldInfo(
annotation=NoneType,
required=True,
discriminator='type'
)]] = None
)-> None

classNamespaceExistsError


classNamespaceIsNotEmptyError


classNamespaceNotFoundError


classNamespaceUnresolvedError


classNoResultsFoundError


classNonBranchRefWriteError


classNotABranchRefError


classNotATagRefError


classNotAWriteBranchRefError


classNotFoundError


classObjectCannotBeSerializedError


classObjectTooBigError


classRefNotFoundError


classRenameBranchForbiddenError


classRenameTagForbiddenError


classResourceNotFoundError


classRevertDestinationTableExistsError


classRevertIdenticalTableError


classRevertTableForbiddenError


classSameRefError


classServiceUnavailableError


classTableCreatePlanApplyState

TableCreatePlanApplyState tracks information about what happened during the course of an "table create" job that plans a job to create an empty table based on your cloud storage to your Bauplan data catalog.

It represents the state of the job, including job ID, job status (failure/success), error description (if any), and a list of events describing each step of the job.

It also includes the output of the job: a string containing the YAML of the import plan.


classTableCreatePlanApplyStatusError


classTableCreatePlanError


classTableCreatePlanState

TableCreatePlanState tracks information about what happened during the course of an "table create" job that plans a job to create an empty table based on your cloud storage to your Bauplan data catalog.

It represents the state of the job, including job ID, job status (failure/success), error description (if any), and a list of events describing each step of the job.

It also includes the output of the job: a string containing the YAML of the import plan.


classTableCreatePlanStatusError


classTableNotFoundError


classTag

bauplan.schema.Tag(
*,
name: str,
hash: str | None = None,
type: Literal['TAG'] = 'TAG'
)-> None

Bases: Ref


classTagExistsError


classTagNotFoundError


classTooManyRequestsError


classUnauthorizedError


classUnhandledRuntimeError


classUpdateConflictError


classUserObjectKeyNotExistsError


classUserObjectWithKeyExistsError