deliverance.exceptions – shared exception objects

Exceptions for use throughout Deliverance

Module Contents

exception deliverance.exceptions.DeliveranceError

Superclass for all deliverance exceptions

In addition to a message, this can have a request and element attached to it. Elements are the objects (maybe XML, or maybe not) that is applicable.

exception deliverance.exceptions.DeliveranceSyntaxError
Exception raised when there is a syntax error in some file
exception deliverance.exceptions.AbortTheme
Raised (and caught) when the theming of a request should be aborted.

Utilities

deliverance.exceptions.add_exception_info(info, exc_info=None)
Add the given information to the exception (typically context information)