I've been wondering what's the best way to deal with exceptions on CodeIgniter. The usual way is to use trigger_error() or log_message(), however I've been wondering if there's a better way using try/catch.
Any tips or recommendations on how to implement this into CodeIgniter?
Currently I'm extending the Exceptions Class, but I would like to know if someone else already dealt with this problem before.