Structured exceptions for Python
Project description
XC: Structured exceptions for Python
XC encourages a structured, disciplined approach to use of exceptions: it reduces the overhead of declaring exceptions that are specific to a cause, and that contain information of use to the handler. That in turn makes it easier to write concise handlers.
A Sphinx extension makes it easy to produce good documentation from properly declared exceptions.
XC exceptions can be serialised into standard-compliant, language-independent JSON, which makes them easy to use in web APIs, even when the consumer is not written in Python.
Read the documentation at http://rjgtoys.readthedocs.org/projects/xc/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for rjgtoys_xc-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 184dc9cef8ab4da7b971fa7bd940471287606ecf0f0002e694ee37bd6dc392ac |
|
MD5 | d750e90101d71d42ce3bcc604293ddd3 |
|
BLAKE2b-256 | 573f008ddd913656b8eac02cc9cc56b2fef4bfb35ed084f026b8617e1cf6ab80 |