 Error
): Promise&lt;any&gt; {
  throw error; // Default just rethrows
}
</code></pre>
<p>By default, it rethrows the exception. But you can return a fallback result instead, which becomes the <code>execResult</code> passed to <code>postAsync()</code>.</p>
<hr />
<h2 id="example-summarize-a-file">Example: Summarize a File</h2>
<p>Below is a Node that reads file content from <code>sharedState</code>, calls an LLM to summarize it, and saves the result back:</p>
<pre><code class="language-typescript">import { 