Thursday 18 August 2011 1:19:30 am
Hi, I want to be able to catch exceptions thrown from my extension. It can be thrown from module or from template operator methods. There are 2 main reasons I want to do that. 1. I want to log exceptions with their stacktrace (chained exceptions too) 2. If it is some non critical exceptions (e.g NotEnoughCreditsException), I would like to redirect user to particular page (e.g /buy-credits) I could not find appropriate documentation section which describes the matter. I'm new to ez (but I have 10 years expiriance in php and java web development). Thanks
|