Skip to main content

exceptions

Class: PenmanError​

Base class for errors in the Penman package


Class: ConstantError​

Raised when working with invalid constant values


Class: GraphError​

Raised on invalid graph structures or operations


Class: LayoutError​

Raised on invalid graph layouts


Class: ModelError​

Raised when a graph violates model constraints.


Class: SurfaceError​

Raised on invalid surface information


Class: DecodeError​

Raised on PENMAN syntax errors

constructor​

• new DecodeError(message, filename?, lineno?, offset?, text?): DecodeError


filename​

• Optional filename: string


lineno​

• Optional lineno: number


offset​

• Optional offset: number


text​

• Optional text: string


toString​

▸ toString(): string