Class: Trap

mikronode-ng. Trap

new mikronode-ng.Trap(message)

Wrapper for traps sent from device

Name Type Description
message string optional

Members

channel

Properties:
Name Type Argument Description
channel mikronode-ng.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-ng.TrapError>

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