Comcast / sheens

Message Machines
Apache License 2.0
119 stars 29 forks source link

Require a default branch for an action node #45

Open jsccast opened 5 years ago

jsccast commented 5 years ago

See #44 and forthcoming code to address that issue.

jsccast commented 5 years ago

For now, if an action node follows no outgoing branch, the machine should transition its error node (even if such a thing doesn't exist). That's the standard behavior for the hopefully few possible error-like conditions. (Note that an error in an action execution can be handled in a slightly richer way.)