kevingarnett2000 Posted July 9, 2007 Share Posted July 9, 2007 I have been researching through ways to efficiently handle php exceptions like database connection lost, web service not available etc. I have came up with some ways to handle error in application: 1) An global exception class class GlobalException extends Exception { public $mErrors; // instance of GlobalErrors } class GlobalErrors { public $mErrors; } Quote Link to comment https://forums.phpfreaks.com/topic/59086-solved-finding-a-viable-error-handling-mechanism/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.