class documentation

class StateCorrection(Exception):

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.