Skip to main content

BaseRuntimeError

Base class for all Union runtime errors. These errors are raised when the underlying task execution fails, either because of a user error, system error or an unknown error.

Constructor

Signature

def BaseRuntimeError(
code: str,
kind: ErrorKind,
root_cause_message: str,
worker: str | None = None
) - > null

Parameters

NameTypeDescription
codestrA string code representing the error type.
kindErrorKindThe kind of error, indicating whether it's a user error, system error, or unknown.
root_cause_messagestrThe underlying message describing the root cause of the error.
worker`strNone` = None