Consolidate exceptions in controller