(error: Error, executionResult: ExecutionResult)
| 31 | * Attaches an ExecutionResult to an error for propagation to parent workflows. |
| 32 | */ |
| 33 | export function attachExecutionResult(error: Error, executionResult: ExecutionResult): void { |
| 34 | Object.assign(error, { executionResult }) |
| 35 | } |
| 36 | |
| 37 | export interface BlockExecutionErrorDetails { |
| 38 | block: SerializedBlock |