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§
- An error that happens when an incorrect amount of arguments have been passed to PathData parts formatting.
- A general-purpose Matrix error type consisting of an HTTP status code and a JSON body.
- An error that happens when Ruma cannot understand a Matrix version.
Enums§
- An error when converting a http request / response to one of ruma’s endpoint-specific request / response types.
- An error when converting a http request to one of ruma’s endpoint-specific request types.
- An error when converting a http response to one of Ruma’s endpoint-specific response types.
- An error when deserializing the HTTP headers.
- An error when serializing the HTTP headers.
- An error when converting one of ruma’s endpoint-specific request or response types to the corresponding http type.
- The body of an error response.
- An error when deserializing a
multipart/mixed
response.