Skip to main content

zExceptions contains common exceptions used in Zope2.

Project description

Overview

zExceptions contains common exceptions and helper functions related to exceptions as used in Zope 2.

Changelog

3.5 (2017-02-05)

  • Drop support for Python 3.3, add support for Python 3.6.

  • Use str(self) as detail if it is not set.

  • Add a setHeader method to add a response header to an HTTPException.

  • upgradeException now also supports finding an HTTPException class with the same name as a non-HTTPException class.

3.4 (2016-09-08)

  • Use HTTPException.body_template when title and detail are set.

  • Add new title and detail attributes to HTTPException.

3.3 (2016-08-06)

  • Add exception classes for all HTTP status codes.

3.2 (2016-07-22)

  • Implement basic subset of Response features in HTTPException class.

3.1 (2016-07-22)

  • Mark exceptions with appropriate zope.publisher interfaces.

  • Add a new common base class zExceptions.HTTPException to all exceptions.

3.0 (2016-04-03)

  • Add compatibility with PyPy and Python 3.

  • Arguments to the Unauthorized exception are assumed to be utf8-encoded if they are bytes.

2.13.0 (2010-06-05)

  • Released as separate package.

Project details


Download files

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

Source Distribution

zExceptions-3.5.tar.gz (13.0 kB view details)

Uploaded Source

File details

Details for the file zExceptions-3.5.tar.gz.

File metadata

  • Download URL: zExceptions-3.5.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zExceptions-3.5.tar.gz
Algorithm Hash digest
SHA256 c9bd8f79a2178de3e914ddc1be5b631fa7aba7d274a10de7d3bbc5cca35dd562
MD5 b851f3f6a4a74bf274944072753ba914
BLAKE2b-256 157310b1f759b8b3847668c5bc640b36ffe03b3e535fc9fb759b898299736d3e

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