Class: Trap

mikronode. Trap

new mikronode.Trap(message)

Wrapper for traps sent from device

Name Type Description
message string optional

Members

channel

Properties:
Name Type Argument Description
channel mikronode.Channel <optional>

The channel originating the trap

channelId

Properties:
Name Type Argument Description
channelId string <optional>

The id of the channel originating the trap

errors

Properties:
Name Type Description
errors Array.<mikronode.TrapError>

Since multiple traps can be recieved
from a single command, this array captures them all.