cvs: /pearweb/public_html/doc pear.html
| From: | Stig Bakken | Date: | Mon, 28 Feb 2000 16:19:36 +0000 |
| Subject: | cvs: /pearweb/public_html/doc pear.html | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-15@lists.php.net to get a copy of this message | ||
ssb Mon Feb 28 08:19:36 2000 EDT
Modified files:
/pearweb/public_html/doc pear.html
Log:
updated HTML version
Index: pearweb/public_html/doc/pear.html
diff -u pearweb/public_html/doc/pear.html:1.2 pearweb/public_html/doc/pear.html:1.3
--- pearweb/public_html/doc/pear.html:1.2 Sun Feb 27 21:33:39 2000
+++ pearweb/public_html/doc/pear.html Mon Feb 28 08:19:05 2000
@@ -41,10 +41,10 @@
><TR
><TD
ALIGN="LEFT"
->Revision $Revision: 1.2 $</TD
+>Revision $Revision: 1.3 $</TD
><TD
ALIGN="LEFT"
->$Date: 2000/02/28 05:33:39 $</TD
+>$Date: 2000/02/28 16:19:05 $</TD
><TD
ALIGN="LEFT"
>Revised by: $Author: ssb $</TD
@@ -63,8 +63,7 @@
><P
> This document is incomplete. For now it only contains a brief
description of PEAR and "Coding Rules and Guidelines". The rules
- and guidelines are initial suggestions, and this part is still open
- to discussion.
+ and guidelines are initial suggestions, and are open for discussion.
</P
><DIV
CLASS="section"
@@ -203,6 +202,33 @@
"DB_mysql".
</P
></DIV
+></DIV
+><DIV
+CLASS="section"
+><HR><H2
+CLASS="section"
+><A
+NAME="pear-errors"
+>Returning Errors</A
+></H2
+><P
+> Your code should <I
+CLASS="emphasis"
+>never</I
+> use
+ <TT
+CLASS="function"
+>exit</TT
+> or <TT
+CLASS="function"
+>die</TT
+> if it
+ encounters an error. This would make developers using your code
+ unable to catch these errors, handle them or even display their
+ own error message. As far as possible, use some way of giving
+ errors back to the caller, even if it is just a boolean return
+ value.
+ </P
></DIV
><DIV
CLASS="section"