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; } 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
Archived
This topic is now archived and is closed to further replies.