title: What is the equivalent for @@Error in Oracle
body: <pre><code>IF @@ERROR &lt;&gt; 0 GOTO ProcError
  </code></pre>
  
  <p>I have the above code in SQL Server.I am unable to find an oracle equivalent for @@Error.</p>
  
  <p>How can this be achieved?</p>