mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 13:04:10 +01:00
Fix grammar in client-server-api intro
This commit is contained in:
parent
1405184765
commit
6b30f145cd
|
|
@ -62,7 +62,7 @@ error message e.g. `M_FORBIDDEN`. Error codes should have their namespace
|
||||||
first in ALL CAPS, followed by a single `_`. For example, if there was a custom
|
first in ALL CAPS, followed by a single `_`. For example, if there was a custom
|
||||||
namespace `com.mydomain.here`, and a `FORBIDDEN` code, the error code should
|
namespace `com.mydomain.here`, and a `FORBIDDEN` code, the error code should
|
||||||
look like `COM.MYDOMAIN.HERE_FORBIDDEN`. Error codes defined by this
|
look like `COM.MYDOMAIN.HERE_FORBIDDEN`. Error codes defined by this
|
||||||
specification should start `M_`.
|
specification should start with `M_`.
|
||||||
|
|
||||||
Some `errcode`s define additional keys which should be present in the error
|
Some `errcode`s define additional keys which should be present in the error
|
||||||
response object, but the keys `error` and `errcode` MUST always be present.
|
response object, but the keys `error` and `errcode` MUST always be present.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue