Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
According to https://www.rfc-editor.org/rfc/rfc7807.html HTTP API has to return application/problem+json if an error happens.
https://cwiki.apache.org/confluence/display/IGNITE/IEP-84%3A+Error+handling describes how Ignite 3 throws exceptions.
The aim of this ticket is to map IgniteException to application/problem+json. Note, that there is no implementation of IEP-84. So, leave TODOs with Jira tickets where it is needed.
Mapping strategy:
“title”: a short, human-readable summary of the problem type
“status”: HTTP status code
“code”: error code
“type”: URI to the error documentation (optional)
“detail”: a human-readable explanation of the problem (optional)
“invalid-params”: list of parameters that did not pass the validation (optional)
“node”: Ignite 3 node name (optional)
“trace-id”: unique identifier that will help to trace the error in the log (optional).
Attachments
Issue Links
- links to