UhOh is an extension on CI_Extensions that provides awesome error messages with full back traces and a view of the line with the error.
It catches all errors including:
E_PARSE
E_ERROR
E_USER_ERROR
E_COMPILE_ERROR
E_ERROR
E_USER_ERROR
E_PARSE
E_WARNING
E_USER_WARNING
E_STRICT
E_NOTICE
E_RECOVERABLE_ERROR
It also outputs full back traces for all CodeIgniter system errors. No more “Where is it trying to load that view?”, it will show you the line that called it and the surrounding lines.
UhOh! is based on Kohana v3’s error handling. The file contains some code from the Kohana project.
Kohana License
Some screen shots:
PHP Parser Error: http://cl.ly/1eR7
CodeIgniter Errors (i.e. loading a missing view): http://cl.ly/1epj
Errors from your app using show_error(): http://cl.ly/1euq
Download
Version 1.3: Download on GitHub
Let me know what you think or if you have issues. Install instructions are in the README.