class documentation

class StateCorrection(Exception): (source)

View In Hierarchy

Raise from within a transition method to switch to another state. Raise with one or two arguments: new state name, and an optional new transition name.