exceptions package

Module contents

Specific exceptions for clothesline objects.

exception exceptions.IndeterminateFormError[source]

Bases: ValueError

An indeterminate form arisen through operations involving symbols (e.g. “infinity - infinity”)

exception exceptions.InvalidCombineEndState[source]

Bases: ValueError

An end state when closing the ‘’combine_intervals’ with an unterminated open buffer to flush.

exception exceptions.InvalidValueError[source]

Bases: ValueError

An attempt to build an object (e.g. IntervalPeg) with invalid or inconsistent values.

exception exceptions.MetricNotImplementedError[source]

Bases: ValueError

An interval*/intervalset* class is asked to do metric computations, but no metric is defined.

exception exceptions.UnparseableDictError[source]

Bases: ValueError

An attempt to parse an invalid dict back to an interval* or intervalset*

exception exceptions.UnserializableItemError[source]

Bases: ValueError

An attempt to convert an interval*/set* to json is made for an object whose domain data type admits no serializable form.

exception exceptions.UnsupportedVersionDictError[source]

Bases: ValueError

The version of this dict is too new to be hydrated back to an object.