notifyRulesExecutionError method

void notifyRulesExecutionError(
  1. String error,
  2. Map<String, dynamic> context
)

Notify listeners of rules execution error

Implementation

void notifyRulesExecutionError(String error, Map<String, dynamic> context) {
  for (final listener in _listeners) {
    try {
      listener.onRulesExecutionError(error, context);
    } catch (e) {
      ObslyLogger.debug('Error notifying listener onRulesExecutionError: $e');
    }
  }
}