cvs: peardoc /en/package/database/db db-error.xml
| From: | Daniel Convissor | Date: | Tue, 13 Apr 2004 18:52:08 +0000 |
| Subject: | cvs: peardoc /en/package/database/db db-error.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3357@lists.php.net to get a copy of this message | ||
danielc Tue Apr 13 14:52:08 2004 EDT
Modified files:
/peardoc/en/package/database/db db-error.xml
Log:
Fix leading whitespace/nesting.
http://cvs.php.net/diff.php/peardoc/en/package/database/db/db-error.xml?r1=1.10&r2=1.11&ty=u
Index: peardoc/en/package/database/db/db-error.xml
diff -u peardoc/en/package/database/db/db-error.xml:1.10
peardoc/en/package/database/db/db-error.xml:1.11
--- peardoc/en/package/database/db/db-error.xml:1.10 Sun Mar 21 16:21:41 2004
+++ peardoc/en/package/database/db/db-error.xml Tue Apr 13 14:52:08 2004
@@ -1,37 +1,39 @@
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
+
<refentry id="package.database.db.db-error">
- <refnamediv>
- <refname><classname>DB_Error</classname></refname>
- <refpurpose>DB Error object</refpurpose>
- </refnamediv>
- <refsect1 id="package.database.db.db-error.desc">
- &title.desc;
- <para>
- In case of failure, most of the &class.db; functions return a
- &class.db-error; object which contains information about
- the error. &class.db-error; offers the same functions
- as &class.pear-error;.
- </para>
- <para>
- The text messages returned by <function>DB_Error::getMessage</function>
- are consistent between each DBMS.
- </para>
- <para>
- The error code integers returned by <function>DB_Error::getCode</function>
- are also consistent between each DBMS. The integers returned are based
- on the <constant>DB_ERROR_*</constant> constants defined in
- <filename>DB.php</filename>.
- </para>
- <para>
- <function>DB_Error::getDebugInfo</function> and
- <function>DB_Error::getUserInfo</function> return complete
- native DBMS error reports.
- </para>
+ <refnamediv>
+ <refname><classname>DB_Error</classname></refname>
+ <refpurpose>DB Error object</refpurpose>
+ </refnamediv>
+
+ <refsect1 id="package.database.db.db-error.desc">
+ &title.desc;
+ <para>
+ In case of failure, most of the &class.db; functions return a
+ &class.db-error; object which contains information about
+ the error. &class.db-error; offers the same functions
+ as &class.pear-error;.
+ </para>
+ <para>
+ The text messages returned by <function>DB_Error::getMessage</function>
+ are consistent between each DBMS.
+ </para>
+ <para>
+ The error code integers returned by <function>DB_Error::getCode</function>
+ are also consistent between each DBMS. The integers returned are based
+ on the <constant>DB_ERROR_*</constant> constants defined in
+ <filename>DB.php</filename>.
+ </para>
+ <para>
+ <function>DB_Error::getDebugInfo</function> and
+ <function>DB_Error::getUserInfo</function> return complete
+ native DBMS error reports.
+ </para>
- <example>
- <title>Trapping errors and determining what happened</title>
- <programlisting role="php">
- <![CDATA[
+ <example>
+ <title>Trapping errors and determining what happened</title>
+ <programlisting role="php">
+ <![CDATA[
<?php
require_once 'DB.php';
@@ -49,12 +51,11 @@
exit;
}
?>
- ]]>
- </programlisting>
- </example>
-
- </refsect1>
- </refentry>
+ ]]>
+ </programlisting>
+ </example>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: