Add MATRIX_API_ERROR_BAD_REQUEST to MatrixAPIError
This commit is contained in:
parent
4b62305c08
commit
b24bcd8bca
@ -36,6 +36,7 @@
|
||||
* (e.g. connection error)
|
||||
* @MATRIX_API_ERROR_INCOMPLETE: the passed/generated data is
|
||||
* incomplete
|
||||
* @MATRIX_API_ERROR_BAD_REQUEST: the request is invalid
|
||||
* @MATRIX_API_ERROR_BAD_RESPONSE: malformed response, or the response
|
||||
* is not a JSON object
|
||||
* @MATRIX_API_ERROR_INVALID_ROOM_ID: the provided string doesn’t
|
||||
|
@ -28,6 +28,7 @@ typedef enum {
|
||||
MATRIX_API_ERROR_NONE,
|
||||
MATRIX_API_ERROR_COMMUNICATION_ERROR,
|
||||
MATRIX_API_ERROR_INCOMPLETE,
|
||||
MATRIX_API_ERROR_BAD_REQUEST,
|
||||
MATRIX_API_ERROR_BAD_RESPONSE,
|
||||
MATRIX_API_ERROR_INVALID_ROOM_ID,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user