Re: [PATCH] Redirect on Error
| From: | Maxim Maletsky | Date: | Tue, 26 Nov 2002 10:55:25 +0000 |
| Subject: | Re: [PATCH] Redirect on Error | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91691@lists.php.net to get a copy of this message | ||
Derick Rethans <derick@php.net> wrote... :
> On Tue, 26 Nov 2002, Maxim Maletsky wrote:
>
> > This can be easily avoided. When I have to report an Oracle error in
> > Italian on an English page, I simply type the error code. We need to
> > introduce error codes in PHP, that would really solve the trouble.
>
> and it would make us enter the maintainers-hell....
It's not really that much of hell. just adding an English comment like:
/* Fail if this data no good */
php_error(354, bad_data);
Can save the whole thing. Naming conventions and coding style used
commonly can be the solution.
--
Maxim Maletsky
maxim@php.net