Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Make the server error response Json object accessible in MatrixClientRequestException/MatrixErrorInfo #69

Open
yyportne opened this issue Oct 30, 2018 · 0 comments
Labels
enhancement Enhancement of existing feature/documentation

Comments

@yyportne
Copy link

The MatrixErrorInfo class should make the server response Json object accessible (if available).

For example, when encountering an error because of rate-limiting, the response informs the client, when it may retry. This information is necessary for well behaving clients.
See https://matrix.org/docs/spec/client_server/r0.4.0.html#rate-limiting

@maxidorius maxidorius added the enhancement Enhancement of existing feature/documentation label Nov 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancement of existing feature/documentation
Projects
None yet
Development

No branches or pull requests

2 participants