Better structure for error response

& add server not trusted error
This commit is contained in:
David Baker 2016-06-30 16:22:01 +01:00
parent 3dddc0dcdf
commit e4db7be8e2
2 changed files with 12 additions and 6 deletions

View file

@ -116,6 +116,9 @@ Some requests have unique error codes:
:``M_THREEPID_IN_USE``:
Sent when a threepid given to an API cannot be used because the same threepid is already in use.
:``M_SERVER_NOT_TRUSTED``:
The client's request used a third party server, eg. ID server, that this server does not trust.
.. _sect:txn_ids:
The client-server API typically uses ``HTTP PUT`` to submit requests with a