Skip to content

errors

The errors module contains errors raised by visitor classes.

AstError

Bases: Exception

Base class for all errors raised by AST.

VisitorError

Bases: Exception

Base class for all errors raised by visitors.

StateTrackingVisitorError

Bases: VisitorError

Base class for all errors raised by state tracking visitors.

DirectADHandlerDispatchNotSupportedError

Bases: StateTrackingVisitorError

Raised when generic AD class is used to select aperture handler.

ApertureNotSelectedError

Bases: StateTrackingVisitorError

Raised when an aperture is not selected in the state tracking visitor.

ApertureNotFoundError

Bases: VisitorError

Raised when an aperture is not found in the aperture dictionary.

SourceNotAvailableError

Bases: AstError

Raised when source is not available for MD5 check.

CoordinateFormatNotSetError

Bases: AstError

Raised when coordinate parsing is requested but format was not prior to it.

PackedCoordinateTooLongError

Bases: AstError

Raised when packed coordinate is too long for the format.

PackedCoordinateTooShortError

Bases: AstError

Raised when packed coordinate is too short for the format.