note 27481 deleted from function.trigger-error by didou
| From: | didou@php.net | Date: | Mon, 10 May 2004 11:39:51 +0000 |
| Subject: | note 27481 deleted from function.trigger-error by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-69406@lists.php.net to get a copy of this message | ||
Note Submitter: moon@justmoon.com
----
If you don't want to use a custom error handler, but a customized error message including the
line and file, where the error occured, use this:
Error('Some error message', __LINE__, __FILE__);
__LINE__ will contain the line, __FILE__ will contain the file, where the function Error() was
called.
moon.