Available on crate feature
api and (crate features client-api-c or client-api-s) and (crate features client or server) only.Expand description
Errors that can be sent from the homeserver.
Structs§
- BadStatus
Error Data - Data for the
M_BAD_STATUSErrorKind. - Error
- A Matrix Error
- Incompatible
Room Version Error Data - Data for the
M_INCOMPATIBLE_ROOM_VERSIONErrorKind. - Limit
Exceeded Error Data - Data for the
M_LIMIT_EXCEEDEDErrorKind. - Resource
Limit Exceeded Error Data - Data for the
M_RESOURCE_LIMIT_EXCEEDEDErrorKind. - Standard
Error Body - A JSON body with the fields expected for Client API errors.
- Unknown
Token Error Data - Data for the
M_UNKNOWN_TOKENErrorKind. - Wrong
Room Keys Version Error Data - Data for the
M_WRONG_ROOM_KEYS_VERSIONErrorKind.
Enums§
- Error
Body - The body of a Matrix Client API error.
- Error
Code - The possible error codes defined in the Matrix spec.
- Error
Kind - An enum for the error kind.
- Retry
After - How long a client should wait before it tries again.
Traits§
- From
Http Response Error Ext - Extension trait for
FromHttpResponseError<ruma_client_api::Error>.