Im trying make custom error handling using TRY / CATCH with memcache, but memcache throws an instance of EXCEPTION and YII show a custom page for the error, but i want make custom code on CATCH while get memcache error. How to do it on YII?
The same on database, im trying make custom CATCH code for make a rollback.
And i can have more exception that i want make custom way to CATCH code, how i can do it with YII?