[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/mongo/_mongocursorexception.xml?=
From:       Kristina_Chodorow <kristina () php ! net>
Date:       2010-08-23 23:03:59
Message-ID: svn-kristina-1282604639-302724-194226324 () svn ! php ! net
[Download RAW message or body]

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>
   <!-- }}} -->




-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic