[][src]Module ruma_api::error

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

IntoHttpError

An error when converting one of ruma's endpoint-specific request or response types to the corresponding http type.

RequestDeserializationError

An error that occurred when trying to deserialize a request.

ResponseDeserializationError

An error that occurred when trying to deserialize a response.

ServerError

An error was reported by the server (HTTP status code 4xx or 5xx)

Enums

FromHttpRequestError

An error when converting a http request to one of ruma's endpoint-specific request types.

FromHttpResponseError

An error when converting a http response to one of ruma's endpoint-specific response types.