Location: PHPKode > projects > PHPTAL > PHPTAL-1.2.2/tests/input/tal-on-error.03.html
<span>

<span tal:define="global errorMessage">
  <div class="error">An error occured, please retry</div>
</span>

<span tal:on-error="structure errorMessage">
  <span tal:content="dummy/throwException"/>
</span>

</span>
Return current item: PHPTAL