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.
Attributes
| Attribute | Type | Description |
|---|---|---|
| code | string | A unique string identifier representing the specific error type encountered during task execution. |
| kind | ErrorKind | Categorization of the error source, such as user, system, or unknown, used to determine retry behavior. |
| worker | `string | None` |
Constructor
Signature
def BaseRuntimeError(self, code: str, kind: ErrorKind, root_cause_message: str, worker: str | None = None): ...
Parameters
| Name | Type | Description |
|---|---|---|
| code | string | The error code associated with the failure. |
| kind | ErrorKind | The category of the error (e.g., user, system, or unknown). |
| root_cause_message | string | The detailed message describing the root cause of the error. |
| worker | `string | None` = None |