Previous topic

declarations.node.macro

Next topic

utility

This Page

exceptions

fbrelation.exceptions

Defines exception classes used by the library.

class RelationException[source]

Base class for all exceptions relating to relation constraint declarations.

class ParsingError[source]

Bases: fbrelation.exceptions.RelationException

Indicates a problem with the syntax of a declaration (improper formatting, for example). May be raised during parsing, when the input text is being parsed into abstract syntax objects.

class CompilationError[source]

Bases: fbrelation.exceptions.RelationException

Indicates a problem with the semantics of the declaration (e.g., an unresolved reference or an improper combination of attributes). May be raised during the static checking and compilation process, when declaration objects are being built from abstract syntax data structures.

class ExecutionError[source]

Bases: fbrelation.exceptions.RelationException

Indicates a runtime problem that could not be anticipated through static checking, such as a missing animation node, component, or function box type within MotionBuilder. May be raised during execution, when FBConstraintRelation objects are being instantiated from declarations.