title: Slim templates: How to rescue an exception?
body: <p>I would like to convert the following erb code into slim.</p>
  
  <pre><code>&lt;% begin %&gt;
    &lt;%= some_function %&gt;
  &lt;% rescue Exception %&gt;
    &lt;%= some_other_function %&gt;
  &lt;% end%&gt;
  </code></pre>
  
  <p>My approach is:</p>
  
  <pre><code>- begin 
    = some_function
  - rescue Exception 
    = some_other_function
  </code></pre>
  
  <p>But that gives an error:</p>
  
  <pre><code>index.slim:34: syntax error, unexpected keyword_ensure, expecting $end
  </code></pre>
  
  <p>How do I rescue exceptions properly using slim?</p>