title: Does anybody know the default Exception codes for PHP?
body: <p>Does anybody know the default Exception codes for PHP? Mainly for database exceptions.</p>
  
  <p>I know that:</p>
  
  <pre><code>42000 is a sql syntax error
  23000 is duplicate unique key entry
  </code></pre>
  
  <p>What other exception codes are there that I should know about?</p>