WorkflowRuntimeError
WorkflowRuntimeError is thrown when the workflow runtime encounters an error executing a workflow. Common causes include:
- Values crossing the workflow/step boundary that cannot be serialized
- Workflow execution timeouts
- Invalid runtime state, such as misconfigured streams
API signature
Properties
| Name | Type | Description |
|---|---|---|
message | string | The error message. |
cause | unknown | The underlying cause, when provided. |
Static methods
WorkflowRuntimeError.is(value)
Type-safe check for WorkflowRuntimeError instances. Preferred over instanceof because it works across module boundaries and VM contexts.