qie.isChannelErred¶
Signature: qie.isChannelErred()
Returns: Boolean isErred - true = channel is in an error state, false = channel is not in an error state
Returns 'true' if the channel is currently in an erred state.
Parameters¶
None
Example¶
/* When a channel is configured to stop after <x> errors or due to not receiving a message it stops in an erred state.
Usually it is configured to start back up after a preconfigured amount of time, as configured on the channel property dialog.
However you could also use the following method in a script to do something else clever. */
if (qie.isChannelErred()) {
// clever logic to perform when channel is in erred state.
}