cvs: peardoc /en/core/pear/pear raiseerror.xml

From: Date: Sat, 02 Apr 2005 17:59:28 +0000
Subject: cvs: peardoc /en/core/pear/pear raiseerror.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5857@lists.php.net to get a copy of this message
arnaud Sat Apr 2 12:59:28 2005 EDT Modified files: /peardoc/en/core/pear/pear raiseerror.xml Log: Fix #3974: raiseError documentation doesn't mention that the first parameter can be a PEAR_Error object as well as a string http://cvs.php.net/diff.php/peardoc/en/core/pear/pear/raiseerror.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/core/pear/pear/raiseerror.xml diff -u peardoc/en/core/pear/pear/raiseerror.xml:1.3 peardoc/en/core/pear/pear/raiseerror.xml:1.4 --- peardoc/en/core/pear/pear/raiseerror.xml:1.3 Tue Oct 14 18:54:02 2003 +++ peardoc/en/core/pear/pear/raiseerror.xml Sat Apr 2 12:59:27 2005 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="core.pear.pear.raiseerror"> <refnamediv> <refname>PEAR::raiseError()</refname> @@ -12,7 +12,7 @@ <funcprototype> <funcdef>PEAR_Error <function>PEAR::raiseError</function></funcdef> <paramdef> - string <parameter>$message</parameter> + mixed <parameter>$message</parameter> </paramdef> <paramdef> int <parameter><optional>$code</optional></parameter> @@ -52,7 +52,7 @@ </term> <listitem> <para> - Error message. The default message is &quot;unknown error&quot; if left + Error message or PEAR_Error object. The default message is &quot;unknown error&quot; if left blank. </para> </listitem>

« previous php.pear.doc (#5857) next »