Handle exceptions in controller with an Error model