jakesgordon / javascript-state-machine

A javascript finite state machine library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Re-instate config.error from version 2

scotthulluk opened this issue · comments

Version 2 had a config.error setting that would catch any error within transition/state change processes.

It would provide the following params "transition, from, to, args, errorCode, errorMessage, stackTrace", be nice to have that re-instated for version 3.

Currently version 3 only allows onInvalidTransition which isn't all that much use to me.