MCPcopy
hub / github.com/looplab/fsm / Error

Method Error

errors.go:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (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.
33type UnknownEventError struct {

Callers 1

TestInvalidEventErrorFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestInvalidEventErrorFunction · 0.76