RE: [PHP] Raising a custom error -- how?

From: Date: Sun, 12 May 2002 18:32:17 +0000
Subject: RE: [PHP] Raising a custom error -- how?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97220@lists.php.net to get a copy of this message
How about looking through the table of contents... ?? XXVII: Error Handling and Logging Functions http://www.php.net/manual/en/ref.errorfunc.php ---John Holmes... > -----Original Message----- > From: Sqlcoders.com Programming Dept [mailto:coders@sqlcoders.com] > Sent: Sunday, May 12, 2002 5:55 PM > To: php-general@lists.php.net > Subject: [PHP] Raising a custom error -- how? > > Hiya, > I want to be able to raise an error in some code I'm creating for reuse, > most parts of this code deals with errors and just uses defaults as > appropriate, > but I need to be able to raise an error that will stop the PHP script > interpreter and throw an error back to the developer. > > I've tried searching the manual for "user defined error", "throw error", > "raise error" etc, > but I guess it's just one of those functions that it's hard to find > without > already knowing where to find it. > > Any help would be appreciated!, > Dw. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#97220) next »