Re: error stack

From: Date: Fri, 02 Jul 1999 16:44:23 +0000
Subject: Re: error stack
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-7992@lists.php.net to get a copy of this message
what about something like what mysql does, provides a function to retreive the LAST error that occurred. it might be a good compromise. You get the ability access the error, yet not have a whole lot of icky coding. Mark > > Quoting Mark Musone <musone@edgeglobal.com>: > > > I can probably throw something togather like that.. > > I just dont see the reason behind it. I dont see much > > use for it. > > The reasoning is that instead of a choice between surpressing all errors and > simply knowing whether an operation failed, or showing errors but having > them php3_errored() directory onto the page (breaking tables, headers, etc, > and looking generally ugly), you can present them to the user in a > controlled manner. > > -chuck > > -- > Charles Hagenbuch, <chagenbu@wso.williams.edu> > -- > "i love how you can make silly putty mate with itself." - chris > > -- > PHP Development Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#7992) next »