Available on crate feature 
api only.Expand description
This module contains types for all kinds of errors that can occur when converting between http requests / responses and ruma’s representation of matrix API requests / responses.
Structs§
- IncorrectArgument Count 
- An error that happens when an incorrect amount of arguments have been passed to PathData parts formatting.
- MatrixError 
- A general-purpose Matrix error type consisting of an HTTP status code and a JSON body.
- UnknownVersion Error 
- An error that happens when Ruma cannot understand a Matrix version.
Enums§
- DeserializationError 
- An error when converting a http request / response to one of ruma’s endpoint-specific request / response types.
- FromHttp Request Error 
- An error when converting a http request to one of ruma’s endpoint-specific request types.
- FromHttp Response Error 
- An error when converting a http response to one of Ruma’s endpoint-specific response types.
- HeaderDeserialization Error 
- An error when deserializing the HTTP headers.
- HeaderSerialization Error 
- An error when serializing the HTTP headers.
- IntoHttp Error 
- An error when converting one of ruma’s endpoint-specific request or response types to the corresponding http type.
- MatrixError Body 
- The body of an error response.
- MultipartMixed Deserialization Error 
- An error when deserializing a multipart/mixedresponse.