Welcome Guest, Not a member yet? Register   Sign In
Global Exception Handling
#2

[eluser]m4rw3r[/eluser]
I would recommend putting the try catch block also around the controller instantiation, as then you can also throw exceptions from eg an auth lib. Finally, if the method_exists() fails, I would have called show_error().

Also, I suggest moving this to the Feature Requests section. But I don't think it will be supported until CI goes PHP 5 fully.


Messages In This Thread
Global Exception Handling - by El Forum - 01-14-2010, 03:46 PM
Global Exception Handling - by El Forum - 01-16-2010, 07:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB