title: Scriptella: get error codes and messages within onerror tag
body: <p>Using Scriptella ETL, i recently came to know about the onerror tag. It is working fine,but I want to make a generic code which inserts the code and the message into the database whenever any error occurs.</p>
  
  <p>I am using it like this:</p>
  
  <pre><code> &lt;onerror codes="42604,42617,42000,1366" &gt;
          INSERT INTO demo_travel.test_log(Time_Now, ErrorName) values (    sysdate(),'eeuhue');
    &lt;/onerror&gt;
  </code></pre>
  
  <p>Which is working, but I want something like this:</p>
  
  <pre><code> &lt;onerror  &gt;
          INSERT INTO demo_travel.test_log(Time_Now, ErrorName,ErrorMSG) values (    sysdate(),Error.code, error.msg);
    &lt;/onerror&gt;
  </code></pre>