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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d8b8c3f3836172d852fe1b125a21e714d3cbeb7523dbcf069493f0281495dc7 |
|
MD5 | 39312d1096e094610cb4bdece022467a |
|
BLAKE2b-256 | 3ddddbf5be72e4e4038e28b2247cbf7cc152ffb7ed06928ee24adcd8e5140da8 |