Error reporting

To bych implementoval

http://www.codeproject.com/Articles/1126297/OneTrueError-Automated-exception-handling