()
| 53 | type NotInTransitionError struct{} |
| 54 | |
| 55 | func (e NotInTransitionError) Error() string { |
| 56 | return "transition inappropriate because no state change in progress" |
| 57 | } |
| 58 | |
| 59 | // NoTransitionError is returned by FSM.Event() when no transition have happened, |
| 60 | // for example if the source and destination states are the same. |
no outgoing calls