matrix-org / matrix-org/matrix-spec

Include error codes in schema for errors

Open
#361 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.