mostr-zulip-bot/zulip/zulip
neiljp (Neil Pilgrim) c2e5b14034 api: Add UnrecoverableNetworkError Exception & use in do_api_query.
This replaces one case where the base ZulipError was raised, and another
where the original exception was re-raised.

This method, and so all API calls, should now only fail via raising this
Exception or by a non-'success' result in the return value dict; this
should avoid leaking any implementation detail and clarify expectations
in user code.
2019-03-29 14:12:26 -07:00
..
examples zulip/examples: Add a script to get complete history of a narrow. 2019-01-28 22:49:47 -03:30
__init__.py api: Add UnrecoverableNetworkError Exception & use in do_api_query. 2019-03-29 14:12:26 -07:00
api_examples.py mypy: Add annotations to api_examples.py 2017-09-15 13:24:24 +02:00
py.typed packaging: Add py.typed marker file & install in setup.py. 2018-05-02 12:13:26 -07:00
send.py mypy: Fix annotations in core zulip files. 2017-09-15 13:24:09 +02:00