Quote:
Originally Posted by Fou-Lu
Too much text to read.
|
What is "too much text to read"?
My original post?!
Quote:
Originally Posted by Fou-Lu
Too much text to read.
|
Why not make use of set_error_handler, and issue trigger_error instead? This issues its own stack, so you can easily track down the file, line, context, etc entirely from the error handler itself. Easy to convert and rethrow as an errorException when it comes time to convert to OO.[/QUOTE]
Because most of the Error-Handling code I have - as shown in the OP - are "logical" errors and not run-time errors, so set_error_handler wouldn't help.
Debbie