Skip to main content

Module error

Module error 

Source
Available on crate features client or server only.
Expand description

Errors that can be sent from the homeserver.

Structs§

BadStatusErrorData
Data for the M_BAD_STATUS ErrorKind.
Error
A Matrix Error
IncompatibleRoomVersionErrorData
Data for the M_INCOMPATIBLE_ROOM_VERSION ErrorKind.
LimitExceededErrorData
Data for the M_LIMIT_EXCEEDED ErrorKind.
ResourceLimitExceededErrorData
Data for the M_RESOURCE_LIMIT_EXCEEDED ErrorKind.
StandardErrorBody
A JSON body with the fields expected for Client API errors.
UnknownTokenErrorData
Data for the M_UNKNOWN_TOKEN ErrorKind.
WrongRoomKeysVersionErrorData
Data for the M_WRONG_ROOM_KEYS_VERSION ErrorKind.

Enums§

ErrorBody
The body of a Matrix Client API error.
ErrorCode
The possible error codes defined in the Matrix spec.
ErrorKind
An enum for the error kind.
RetryAfter
How long a client should wait before it tries again.

Traits§

FromHttpResponseErrorExt
Extension trait for FromHttpResponseError<ruma_client_api::Error>.