penman.exceptions

exception penman.exceptions.PenmanError[source]

Base class for errors in the Penman package.

exception penman.exceptions.ConstantError[source]

Bases: penman.exceptions.PenmanError

Raised when working with invalid constant values.

exception penman.exceptions.GraphError[source]

Bases: penman.exceptions.PenmanError

Raised on invalid graph structures or operations.

exception penman.exceptions.LayoutError[source]

Bases: penman.exceptions.PenmanError

Raised on invalid graph layouts.

exception penman.exceptions.DecodeError(message=None, filename=None, lineno=None, offset=None, text=None)[source]

Bases: penman.exceptions.PenmanError

Raised on PENMAN syntax errors.

exception penman.exceptions.SurfaceError[source]

Bases: penman.exceptions.PenmanError

Raised on invalid surface information.

exception penman.exceptions.ModelError[source]

Bases: penman.exceptions.PenmanError

Raised when a graph violates model constraints.