Skip to main content

Module error

Module error 

Available on crate feature api and (crate features client or server) only.
Expand description

Errors that can be sent from the homeserver.

Structs§

Error
A Matrix Error
StandardErrorBody
A JSON body with the fields expected for Client API errors.

Enums§

AuthenticateErrorunstable-msc2967
Errors in the WWW-Authenticate header.
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>.