-
-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raise exceptions for {"result": "error"}
in zulip
apis.
#672
Comments
@zulipbot claim |
Hello @alexzw7! Thanks for your interest in Zulip! You have attempted to claim an issue without the labels "help wanted", "good first issue". Since you're a new contributor, you can only claim and submit pull requests for issues with the help wanted or good first issue labels. If this is your first time here, we recommend reading our guide for new contributors before getting started. |
@zulipbot add "good first issue" |
@zulipbot claim |
Welcome to Zulip, @alexzw7! We just sent you an invite to collaborate on this repository at https://github.com/zulip/python-zulip-api/invitations. Please accept this invite in order to claim this issue and begin a fun, rewarding experience contributing to Zulip! Here's some tips to get you off to a good start:
As you work on this issue, you'll also want to refer to the Zulip code contribution guide, as well as the rest of the developer documentation on that site. See you on the other side (that is, the pull request side)! |
@zulipbot remove "good first issue" |
A brief note for this one here: we might need to add a common exception class called |
Yeah, I think that's a good idea. |
Is it the intent of this issue to evolve all of the If this is an evolution of |
I think so. One theory is that we could provide a |
Currently,
zulip
API doesn't handle{"result": "error"}
and sends send back whatever comes from the server. We would want to handle these errors by raising exceptions in the API layer whenever there is a{"result": "error"}
.Reference
The text was updated successfully, but these errors were encountered: