This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

EventNameFromCode()

Deprecated in 5.0.

EventNameFromCode(code): String

Get event name from code

Table 1. Parameters

code

Integer

Event code

Return

Event name, or null if event with given code does not exist.

println(EventNameFromCode(28)); // will print "SYS_NODE_DOWN"