Exceptions

Module: polygraphy.exception

exception PolygraphyException[source]

Bases: Exception

An exception raised by Polygraphy.

exception PolygraphyInternalException[source]

Bases: Exception

An exception raised when a Polygraphy internal check is violated. Polygraphy internal checks can be enabled by setting the POLYGRAPHY_INTERNAL_CORRECTNESS_CHECKS environment variable to 1. This is not a child class of PolygraphyException because it indicates a bug in Polygraphy itself.

exception DataTypeConversionException[source]

Bases: polygraphy.exception.exception.PolygraphyException

An exception during conversion to or from a Polygraphy DataType.