Exceptions

exception BeakerError[source]

Base class for all Beaker errors.

exception RpcError[source]

Raised by the gRPC library to indicate non-OK-status RPC termination.

exception HTTPError(*args, **kwargs)[source]

An HTTP error occurred.

exception BeakerClientError[source]
exception BeakerServerError[source]
exception BeakerStreamConnectionClosedError[source]

Raised when the server closes a long-running streaming connection prematurely. See https://github.com/allenai/beaker/issues/6532.

exception BeakerServerUnavailableError[source]
exception RequestException(*args, **kwargs)[source]

There was an ambiguous exception that occurred while handling your request.

exception BeakerConfigurationError[source]

Raised when invalid fields are found in the config file.

exception BeakerNotFoundError[source]

Base class for not found errors.

exception BeakerOrganizationNotFound[source]

Raised when a specified organization doesn’t exist.

exception BeakerUserNotFound[source]

Raised when a specified user doesn’t exist.

exception BeakerWorkspaceNotFound[source]

Raised when a specified workspace doesn’t exist.

exception BeakerClusterNotFound[source]

Raised when a specified cluster doesn’t exist.

exception BeakerNodeNotFound[source]

Raised when a specified node doesn’t exist.

exception BeakerBudgetNotFound[source]

Raised when a specified budget doesn’t exist.

exception BeakerGroupNotFound[source]

Raised when a specified group doesn’t exist.

exception BeakerQueueNotFound[source]

Raised when a specified queue doesn’t exist.

exception BeakerQueueEntryNotFound[source]

Raised when a specified queue entry doesn’t exist.

exception BeakerQueueWorkerNotFound[source]

Raised when a specified queue worker doesn’t exist.

exception BeakerImageNotFound[source]

Raised when a specified image doesn’t exist.

exception BeakerDatasetNotFound[source]

Raised when a specified dataset doesn’t exist.

exception BeakerSecretNotFound[source]

Raised when a specified secret does not exist.

exception BeakerExperimentNotFound[source]

Raised when a specified experiment doesn’t exist.

exception BeakerWorkloadNotFound[source]

Raised when a specified workload doesn’t exist.

exception BeakerJobNotFound[source]

Raised when a specified job doesn’t exist.

exception BeakerOrganizationNotSet[source]

Raised when the default organization is not set.

exception BeakerWorkspaceNotSet[source]

Raised when the default workspace is not set.

exception BeakerPermissionsError[source]
exception BeakerNameConflictError[source]

Base error type for name conflict errors.

exception BeakerDatasetConflict[source]
exception BeakerExperimentConflict[source]
exception BeakerImageConflict[source]
exception BeakerSecretConflict[source]
exception BeakerGroupConflict[source]
exception BeakerWorkspaceConflict[source]
exception BeakerDatasetWriteError[source]
exception BeakerUnexpectedEOFError[source]
exception BeakerChecksumFailedError[source]
exception BeakerDockerError[source]
exception BeakerWorkerThreadError[source]

Raised when a worker thread dies.

exception BeakerCreateQueueEntryFailedError[source]

Raised when creating a new queue entry fails.