Add service to handle error messages
Merge pull request #134 from pass-by-value/error_service

Add service to handle error messages