Re: [PATCH] Redirect on Error

From: Date: Tue, 26 Nov 2002 11:11:33 +0000
Subject: Re: [PATCH] Redirect on Error
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-91708@lists.php.net to get a copy of this message
Derick Rethans <derick@php.net> wrote... : > On Tue, 26 Nov 2002, Maxim Maletsky wrote: > > > 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); > > Huh, what is code 354? What is the exact message? Comments dont help, > and then you need to update the message at two locations! Woohoo! even > more work. > > > > > Can save the whole thing. Naming conventions and coding style used > > commonly can be the solution. > > Yeah, and you just tell us what to do. I rather propose. And, it seems to interest many on the list. -- Maxim Maletsky maxim@php.net

« previous php.dev (#91708) next »