Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rjgtoys_xc-0.0.3-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file rjgtoys_xc-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: rjgtoys_xc-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

File hashes

Hashes for rjgtoys_xc-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7d8b8c3f3836172d852fe1b125a21e714d3cbeb7523dbcf069493f0281495dc7
MD5 39312d1096e094610cb4bdece022467a
BLAKE2b-256 3ddddbf5be72e4e4038e28b2247cbf7cc152ffb7ed06928ee24adcd8e5140da8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page