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
| Name | Type | Description |
|---|---|---|
| code | str | A string code representing the error type. |
| kind | ErrorKind | The kind of error, indicating whether it's a user error, system error, or unknown. |
| root_cause_message | str | The underlying message describing the root cause of the error. |
| worker | `str | None` = None |