new error codes

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302724 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kristina Chodorow 2010-08-23 23:03:59 +00:00
parent 9bc006dc36
commit fd886889b7

View file

@ -19,7 +19,7 @@
If there is an error receiving a reply, there will be a more
specific error message to help diagnose the problem. As it is a bit
programmatically awkward to parse an exception message, there is also an
error code associated with each cause of the exception.
error code associated with each cause of the exception.
</para>
<itemizedlist>
@ -172,7 +172,30 @@
If the response was cached and now cannot be located.
</para>
</listitem>
<listitem>
<para>
various
</para>
<para>
Code: 10
</para>
<para>
No code given by the database.
</para>
</listitem>
<listitem>
<para>
<literal>E11000 duplicate key error index: foo.bar.$X dup key: { /* ... */ }</literal>
</para>
<para>
Code: 11000
</para>
<para>
Database error for duplicate keys.
</para>
</listitem>
</itemizedlist>
</section>
<!-- }}} -->