2.0.0b35

flyte.errors

Exceptions raised by Union.

These errors are raised when the underlying task execution fails, either because of a user error, system error or an unknown error.

Directory

Errors

Exception Description
ActionNotFoundError This error is raised when the user tries to access an action that does not exist.
BaseRuntimeError Base class for all Union runtime errors.
CustomError This error is raised when the user raises a custom error.
DeploymentError This error is raised when the deployment of a task fails, or some preconditions for deployment are not met.
ImageBuildError This error is raised when the image build fails.
ImagePullBackOffError This error is raised when the image cannot be pulled.
InitializationError This error is raised when the Union system is tried to access without being initialized.
InlineIOMaxBytesBreached This error is raised when the inline IO max bytes limit is breached.
InvalidImageNameError This error is raised when the image name is invalid.
LogsNotYetAvailableError This error is raised when the logs are not yet available for a task.
ModuleLoadError This error is raised when the module cannot be loaded, either because it does not exist or because of a.
NotInTaskContextError This error is raised when the user tries to access the task context outside of a task.
OOMError This error is raised when the underlying task execution fails because of an out-of-memory error.
OnlyAsyncIOSupportedError This error is raised when the user tries to use sync IO in an async task.
PrimaryContainerNotFoundError This error is raised when the primary container is not found.
ReferenceTaskError This error is raised when the user tries to access a task that does not exist.
RetriesExhaustedError This error is raised when the underlying task execution fails after all retries have been exhausted.
RunAbortedError This error is raised when the run is aborted by the user.
RuntimeDataValidationError This error is raised when the user tries to access a resource that does not exist or is invalid.
RuntimeSystemError This error is raised when the underlying task execution fails because of a system error.
RuntimeUnknownError This error is raised when the underlying task execution fails because of an unknown error.
RuntimeUserError This error is raised when the underlying task execution fails because of an error in the user’s code.
SlowDownError This error is raised when the user tries to access a resource that does not exist or is invalid.
TaskInterruptedError This error is raised when the underlying task execution is interrupted.
TaskTimeoutError This error is raised when the underlying task execution runs for longer than the specified timeout.
UnionRpcError This error is raised when communication with the Union server fails.

Methods

Method Description
silence_grpc_polling_error() Suppress specific gRPC polling errors in the event loop.

Methods

silence_grpc_polling_error()

def silence_grpc_polling_error(
    loop,
    context,
)

Suppress specific gRPC polling errors in the event loop.

Parameter Type Description
loop
context