msoe-dise-project / ringling

A service to track model training parameters, trained models, and model tests
Apache License 2.0
0 stars 0 forks source link

Plan error response strategy #11

Open rnowling opened 1 year ago

rnowling commented 1 year ago

RFC7807 defines suggested fields to be included when returning an object describing errors:

In our case, we would need to define an ontology of error types and generate appropriate descriptions and documentation. This may not be feasible to implement entirely in the short term. We can, however, generate human-readable titles, statuses, and details.

The primary outcome of this issue is to determine a standard for responding to error messages in a consistent manner and add it to the developer documentation.

rnowling commented 1 year ago

Spring has its own approach to error messages that might be worth copying. See this article.