File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -84,23 +84,24 @@ impl RumaApiError {
8484/// converting the raw HTTP response into a Matrix response.
8585#[ derive( Error , Debug ) ]
8686pub enum HttpError {
87- /// An error at the HTTP layer.
87+ /// Error at the HTTP layer.
8888 #[ error( transparent) ]
8989 Reqwest ( #[ from] ReqwestError ) ,
9090
9191 /// Queried endpoint is not meant for clients.
9292 #[ error( "the queried endpoint is not meant for clients" ) ]
9393 NotClientRequest ,
9494
95- /// An error converting between ruma_*_api types and Hyper types .
95+ /// API response error (deserialization, or a Matrix-specific error) .
9696 #[ error( transparent) ]
9797 Api ( #[ from] FromHttpResponseError < RumaApiError > ) ,
9898
99- /// An error converting between ruma_client_api types and Hyper types.
99+ /// Error when creating an API request (e.g. serialization of
100+ /// body/headers/query parameters).
100101 #[ error( transparent) ]
101102 IntoHttp ( IntoHttpError ) ,
102103
103- /// An error occurred while refreshing the access token.
104+ /// Error while refreshing the access token.
104105 #[ error( transparent) ]
105106 RefreshToken ( RefreshTokenError ) ,
106107}
You can’t perform that action at this time.
0 commit comments