Implement Symfony error handling

Merged asajedi requested to merge implementErrorHandling into master

Merge request reports