Originally Posted by Fou-Lu
Error handling will work just fine, that is what trigger_error is used for. Give it a E_USER_* level error to determine what to do with it. So simply use a logical decision on if an error has occurred, and trigger a user level error according to the error level.
Sorry, but I am not following you...
Also, I'm not sure if you are following what I currently have, although I believe I posted some code above.
Would more of what I currently have help?