I'm trying to do this with set_error_handler(), my will is to trigger Error controller and catch this as application error, since I want to log all errors in one place - Error controller. I tried with setting error handler in bootstrap to function in index.php and that function calls error controller statically, but no success. There must be some easy way to do this.
Anyone know? Regards, Saša Stamenković