mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Fix grammar in client-server-api intro (#1597)
This commit is contained in:
parent
3ae6bb47d8
commit
746524928c
|
|
@ -0,0 +1 @@
|
||||||
|
Fix various typos throughout the specification.
|
||||||
|
|
@ -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