zulip/zerver/webhooks/ifttt
PIG208 dcbb2a78ca python: Migrate most json_error => JsonableError.
JsonableError has two major benefits over json_error:
* It can be raised from anywhere in the codebase, rather than
  being a return value, which is much more convenient for refactoring,
  as one doesn't potentially need to change error handling style when
  extracting a bit of view code to a function.
* It is guaranteed to contain the `code` property, which is helpful
  for API consistency.

Various stragglers are not updated because JsonableError requires
subclassing in order to specify custom data or HTTP status codes.
2021-06-30 16:22:38 -07:00
..
fixtures webhooks/ifttt: Get test coverage up to 100%. 2018-10-04 12:16:06 -07:00
__init__.py
doc.md integrations: Fix typo in IFTTT doc. 2018-08-10 14:23:29 -07:00
tests.py webhook: Rename FIXTURE_DIR_NAME to WEBHOOK_DIR_NAME. 2021-06-29 17:01:54 -07:00
view.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00