title: Rake Task: error handling
body: <p>I am still learning Rake.</p>
  
  <p>Does Rake has built in support to handle task's error like MSBuild of NANT: if this task failed; execute anoter tasks (rolling back, etc.)</p>
  
  <p>e.g.: in MSBuild they have <code>OnError</code> element     </p>
  
  <pre><code>&lt;OnError ExecuteTargets="RollBackDatabase" /&gt;
  </code></pre>
  
  <p>Thanks for your help</p>