Re: Fatal Errors and Error Handling
| From: | Christian Reiniger | Date: | Tue, 24 Apr 2001 12:10:46 +0000 |
| Subject: | Re: Fatal Errors and Error Handling | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50054@lists.php.net to get a copy of this message | ||
On Tuesday 24 April 2001 12:14, Svein Roar Nilsen wrote:
> > beside, use @ in front of the command to pipe away the current error
> > or stop on-screen display of errors in general.
>
> My problem is that not displaying anything in case of an error is a
> completely unacceptable solution. I *MUST* return a valid XML message
> in a predefined format. If not, I am violating the standard we are
if (@foo_bar (42, 4711) == ERROR_CODE) {
PrintXMLErrorMessage ();
}
else {
GoOnProcessing ();
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
..10001000110101011010101101011110111010113...????