Namespace: Errors

sm.Errors

A collection of messages to use in appropriate erroneous situations.
Since:
  • 0.2.0
Source:

Members

(static) ILLEGAL_ARGUMENT

Usage: when function argument is not according to expectations. Error message (without $1 placeholder replaced and with the error code):

'Oops! Illegal argument(s). $1 (#3000)'

Source:

(static) ILLEGAL_DESIGN

Usage: when state machine has obvious problem visible in the design-time. Error message (without $1 placeholder replaced and with the error code):

'Oops! Illegal design of state machine. $1 (#3001)'

Source:

(static) RUNTIME_ERROR

Usage: when runtime error occurs during the execution of state machine. Error message (without $1 placeholder replaced and with the error code):

'Oops! Runtime error. $1 (#3002)'

Source: