Closed as not planned
Description
Since error messages are not standardised across implementations, it is difficult to share the exact error. Moreover, these error messages can change over time(depending on the library), thus, introducing breakages in implementations. Such breakages can break translations, formatting, etc for the end user.
Example: Server validation output format being passed to client validator.
Suggestions:
- Current
error
node in output format can point to error code instead of the message. title
anddescription
annotations can be used to add more details of the error.- Standardise error code format(similar to SQLSTATE).
- Introduce error code classes(similar to SQLSTATE) for each constraint type.
Prior art:
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Closed