stargate / data-api

JSON document API for Apache Cassandra (formerly known as JSON API)
https://stargate.io
Apache License 2.0
14 stars 16 forks source link

Ensure all API Codec errors are turned into nice API Exceptions #1744

Open amorton opened 2 days ago

amorton commented 2 days ago

Split from #1573 got to all places we use the JSON Code Repository and make sure the errors are translated. This may be a good place to use the ExceptionHandler as a pattern for translating errors (it may need to change to handle throwable not runtime)

Checklist of places the user can send values that should go through codecs: