---
title: "Error"
description: "Catch, throw, and branch on workflow errors."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/error"
---
# Error

> Catch, throw, and branch on workflow errors.

**Error** blocks sit in the builder palette under **Basic → Error**. Catchable failures follow a block’s **Error** outlet when it is connected; otherwise they bubble to [Try](https://docs.vettero.com/build/workflows/blocks/error/try) **On error**, or fail the run. On those paths bind `error` and `pipe.error` (not `pipe.value`). Expected failures include bad config, missing values, API failures, invalid Liquid templates, and invalid JSON or Zod input. Fatal errors (`EXEC_*`, internal, any other thrown `Error`) skip catch paths. Shared graph rules are on [Workflows](https://docs.vettero.com/build/workflows).

<table>
<thead>
  <tr>
    <th>
      Use
    </th>
    
    <th>
      Block
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Protect a region
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/error/try">
        Try
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Fail on purpose
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/error/throw">
        Throw error
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Split by error code
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/error/branch">
        Branch errors
      </a>
    </td>
  </tr>
</tbody>
</table>

<searchable-card-grid :items="[{"title":"Try","description":"Run Do, catch on On error, then Always, then continue on Out.","icon":"i-lucide-shield","to":"/build/workflows/blocks/error/try","keywords":"try catch finally always"},{"title":"Throw error","description":"Raise a catchable error with a message and optional code.","icon":"i-lucide-zap","to":"/build/workflows/blocks/error/throw","keywords":"throw fail"},{"title":"Branch errors","description":"One outlet per declared error code, plus Other for everything else.","icon":"i-lucide-git-fork","to":"/build/workflows/blocks/error/branch","keywords":"error code branch other"}]" empty="No error blocks match that search." placeholder="Search error blocks…">



</searchable-card-grid>

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
