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:[EMAIL PROTECTED]]
> Sent: Sunday, May 12, 2002 5:55 PM
> To: [EMAIL PROTECTED]
> 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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to