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§
- Incorrect
Argument Count - An error that happens when an incorrect amount of arguments have been passed to PathData parts formatting.
- Matrix
Error - A general-purpose Matrix error type consisting of an HTTP status code and a JSON body.
- Unknown
Version Error - An error that happens when Ruma cannot understand a Matrix version.
Enums§
- Deserialization
Error - An error when converting a http request / response to one of ruma’s endpoint-specific request / response types.
- From
Http Request Error - An error when converting a http request to one of ruma’s endpoint-specific request types.
- From
Http Response Error - An error when converting a http response to one of Ruma’s endpoint-specific response types.
- Header
Deserialization Error - An error when deserializing the HTTP headers.
- Header
Serialization Error - An error when serializing the HTTP headers.
- Into
Http Error - An error when converting one of ruma’s endpoint-specific request or response types to the corresponding http type.
- Matrix
Error Body - The body of an error response.
- Multipart
Mixed Deserialization Error - An error when deserializing a
multipart/mixed
response.