()
| 26 | } |
| 27 | |
| 28 | func (e InvalidEventError) Error() string { |
| 29 | return "event " + e.Event + " inappropriate in current state " + e.State |
| 30 | } |
| 31 | |
| 32 | // UnknownEventError is returned by FSM.Event() when the event is not defined. |
| 33 | type UnknownEventError struct { |
no outgoing calls