svn: /phpdoc/en/trunk/reference/mongo/ mongocursorexception.xml
| From: | Kristina Chodorow | Date: | Mon, 23 Aug 2010 23:03:59 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/ mongocursorexception.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7038@lists.php.net to get a copy of this message | ||
kristina Mon, 23 Aug 2010 23:03:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=302724
Log:
new error codes
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongocursorexception.xml
Modified: phpdoc/en/trunk/reference/mongo/mongocursorexception.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongocursorexception.xml 2010-08-23 21:50:12 UTC (rev 302723)
+++ phpdoc/en/trunk/reference/mongo/mongocursorexception.xml 2010-08-23 23:03:59 UTC (rev 302724)
@@ -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>
<!-- }}} -->