json-rules-engine icon indicating copy to clipboard operation
json-rules-engine copied to clipboard

Event type "error" not working

Open intermx-reddysai opened this issue 4 years ago • 0 comments

event: { type: 'error', params: { message: 'Player has fouled out!' } }

In the event object, I have given error as the value of the type property.

It is returning the error like, Uncaught, unspecified 'error' event.

If is not allowed value, please update the document.

intermx-reddysai avatar Jul 14 '21 11:07 intermx-reddysai