gregwebs/state_machine — comment on commit 2b28504dcf642978812f3345b8e38bedf34ec12b
File:  line 0
By obrie:

The inheritance from Error is actually just the code playing tricks on you :) InvalidTransition and InvalidParallelTransition inherit from StateMachine::Error which is the Error class you're seeing referenced there.