This trims down the controllers and as they becomes less verbose they are easier to read, understand and maintain.
Two exceptions types were created. One for API consumer errors (400 bad requests or 404 not found types) and another for service errors (500, when we miss configurations etc).
This trims down the controllers and as they becomes less verbose they are easier to read, understand and maintain.
Two exceptions types were created. One for API consumer errors (400 bad requests or 404 not found types) and another for service errors (500, when we miss configurations etc).