matrix-org / matrix-org/matrix-spec
Include error codes in schema for errors
Open
A-Client-Server
enhancement
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
We reference the error schema and have examples, but we don't say specifically that "this 403 can only return M_FORBIDDEN". Might be useful to also tweak the rendering of the error responses to reflect this
Contributor guide
Research direction
The issue does not name files or tests. Locate the error schema and the rendering path for error responses, then determine how status codes map to permitted error codes; it is done when the schema explicitly records the mapping and rendered responses reflect it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100