The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
2.1.5
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 |
|---|---|
ActionAbortedError |
This error is raised when an action was aborted, externally. |
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. |
CodeBundleError |
This error is raised when the code bundle cannot be created, for example when no files are found to bundle. |
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. |
InvalidPackageError |
Raised when an invalid system package is detected during image build. |
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. |
NonRecoverableError |
Raised when an error is encountered that is not recoverable. |
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. |
ParameterMaterializationError |
This error is raised when the user tries to use a Parameter in an App, that has delayed Materialization,. |
PrimaryContainerNotFoundError |
This error is raised when the primary container is not found. |
RemoteTaskNotFoundError |
This error is raised when the user tries to access a task that does not exist. |
RemoteTaskUsageError |
This error is raised when the user tries to access a task that does not exist. |
RestrictedTypeError |
This error is raised when the user uses a restricted type, for example current a Tuple is not supported for one. |
RetriesExhaustedError |
This error is raised when the underlying task execution fails after all retries have been exhausted. |
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. |
TraceDoesNotAllowNestedTasksError |
This error is raised when the user tries to use a task from within a trace. |
UnionRpcError |
This error is raised when communication with the Union server fails. |
Methods
| Method | Description |
|---|---|
silence_polling_error() |
Suppress specific polling errors in the event loop. |
Methods
silence_polling_error()
def silence_polling_error(
loop,
context,
)Suppress specific polling errors in the event loop.
| Parameter | Type | Description |
|---|---|---|
loop |
||
context |