Improved:
Used Symfony/Component/Debug for error/exception handing.
ErrorController class and config option for errors/exceptions on production mode.