Add standard error responses (MSC3743). (#1347)
This commit is contained in:
parent
dfc8a2e184
commit
eeb43043ad
10 changed files with 41 additions and 3 deletions
|
@ -108,6 +108,11 @@ attempting to verify ownership of a given third party address.
|
|||
The request contained an unrecognised value, such as an unknown token or
|
||||
medium.
|
||||
|
||||
This is also used as the response if a server did not understand the request.
|
||||
This is expected to be returned with a 404 HTTP status code if the endpoint is
|
||||
not implemented or a 405 HTTP status code if the endpoint is implemented, but
|
||||
the incorrect HTTP method is used.
|
||||
|
||||
`M_THREEPID_IN_USE`
|
||||
The third party identifier is already in use by another user. Typically
|
||||
this error will have an additional `mxid` property to indicate who owns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue