Re: [PATCH] Exception & ErrorException docs
| From: | Hannes Magnusson | Date: | Mon, 14 Apr 2008 05:20:58 +0000 |
| Subject: | Re: [PATCH] Exception & ErrorException docs | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969378795@lists.php.net to get a copy of this message | ||
On Mon, Apr 14, 2008 at 3:34 AM, Daniel Convissor
<danielc@analysisandsolutions.com> wrote:
> Hannes is on a roll!
>
> Can I suggest changing "Get" to "Gets" in the refpurpose's?
Fixed
>
> Is it possible to explain the purpose of ErrorException's? For example:
>
> function exceptions_error_handler($severity, $message, $filename,
> $lineno) {
> throw new ErrorException($message, 0, $severity, $filename, $lineno);
> }
>
> set_error_handler('exceptions_error_handler');
Neat example, thanks!
-Hannes