Generic error service for user-friendly errors in angular