handling unhandled exceptions within a class

Hi  i have a fairly standard web class witch uses the __constructor function and has loads of functions within it

my question is is how do i globally across the whole class catch any unhandled exceptions so i can email them to the web developer (me).

Thanks in Advance
Who is Participating?
Beverley PortlockCommented:
Have you looked at set_exception_handler ?

cghrmauritiusAuthor Commented:
Thanks i was having a very dumb moment
Beverley PortlockCommented:
"Thanks i was having a very dumb moment"

We all have those from time to time


Good luck with your project.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.