Closed sagikazarmark closed 1 year ago
Currently we return a custom error format to clients. While that's not necessarily a problem, some standardisation would be nice.
Return errors formatted according to RFC7807.
A library I've used in the past: https://github.com/moogar0880/problems
Given the size of the library, we could just implement our own problem types.
No response
@tothandras is this done?
@sagikazarmark let me know if you find this acceptable:
lgtm
Preflight Checklist
Problem Description
Currently we return a custom error format to clients. While that's not necessarily a problem, some standardisation would be nice.
Proposed Solution
Return errors formatted according to RFC7807.
A library I've used in the past: https://github.com/moogar0880/problems
Alternatives Considered
Given the size of the library, we could just implement our own problem types.
Additional Information
No response