Edit me on GitHub

pyramid.exceptions

Forbidden

alias of HTTPForbidden

NotFound

alias of HTTPNotFound

class ConfigurationError[source]

Raised when inappropriate input values are supplied to an API method of a Configurator

class URLDecodeError[source]

This exception is raised when Pyramid cannot successfully decode a URL or a URL path segment. This exception it behaves just like the Python builtin UnicodeDecodeError. It is a subclass of the builtin UnicodeDecodeError exception only for identity purposes, mostly so an exception view can be registered when a URL cannot be decoded.

Previous topic

pyramid.events

Next topic

pyramid.httpexceptions