DemocracyDevelopers / colorado-rla

Colorado Risk-Limiting Audit (RLA) software – developed to support risk-limiting post-election audits of election outcomes.
Other
0 stars 0 forks source link

Use conventional error handling in GetAssertions endpoint #140

Closed vteague closed 3 months ago

vteague commented 4 months ago

Currently the GenerateAssertions endpoint throws a runtime exception in the case of certain kinds of errors. Instead, use the appropriate error-handling functions from AbstractEndpoint.java: badDataContents, ServerError, etc.