DemocracyDevelopers / raire-service

Service that forms a front-end to raire-java and is called from colorado-rla
GNU General Public License v3.0
2 stars 1 forks source link

Get assertion service #74

Closed michelleblom closed 6 months ago

vteague commented 6 months ago

When we implement the API, I think we can handle all the exceptions in our ControllerExceptionHandler. Apparently Spring handles things from most-specific to least-specific, so we can specifically handle RequestValidationException and RaireServiceException, then put the catch-all in and expect it to be called only if the other two don't match.