Exceptions¶
All public failures inherit from AnihmmError.
| Exception | Meaning |
|---|---|
AnimationConfigError |
Invalid rendering or playback option |
SequenceError |
Invalid sequence operation |
InvalidTransitionError |
Illegal node or transition |
FrameCompilationError |
A step or frame cannot be rendered |
SessionError |
Background playback failed |
AnimationTimeoutError |
A session did not stop before its timeout |
Catch the narrowest type useful to your application.
anihmm.exceptions
¶
Public exception hierarchy for anihmm.
AnihmmError
¶
Bases: Exception
Base exception for public anihmm API failures.
AnimationConfigError
¶
Bases: AnihmmError, ValueError
Invalid playback or rendering configuration.
AnimationTimeoutError
¶
Bases: SessionError, TimeoutError
Animation session did not finish before the requested timeout.
FrameCompilationError
¶
Bases: AnihmmError, ValueError
Failure while compiling semantic steps into renderable frames.
InvalidTransitionError
¶
Bases: SequenceError
Invalid lattice transition or node reference.
SequenceError
¶
Bases: AnihmmError, ValueError
Invalid semantic sequence construction.
SessionError
¶
Bases: AnihmmError, RuntimeError
Failure while starting, stopping, or monitoring a background session.