zulip/zerver/views/development
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
..
__init__.py tooling: Move email_log.py to development only views. 2019-01-11 12:45:02 -08:00
cache.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
camo.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
dev_login.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
email_log.py refactor: Move dev-only templates to templates/zerver/development. 2021-04-19 10:25:05 -07:00
integrations.py python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
registration.py puppeteer_tests: Remove login test. 2021-03-31 16:55:54 -07:00