code: @MainThread
      private void scheduleFailureCallbacks(Event event, EventFailure failure) {
          // Sending failure callback for explicit handlers of given event
          for (EventTarget target : targets) {
              for (EventMethod method : target.methods) {
                  if (event.getKey().equals(method.eventKey)
                          && method.type == EventMethod.Type.FAILURE) {
                      Utils.log(event.getKey(), method, "Scheduling failure callback");
                      executionQueue.add(Task.create(this, target, method, event, failure));
                  }
              }
          }
  
          // Sending failure callback to general handlers (with no particular event key)
          for (EventTarget target : targets) {
              for (EventMethod method : target.methods) {
                  if (EventsParams.EMPTY_KEY.equals(method.eventKey)
                          && method.type == EventMethod.Type.FAILURE) {
                      Utils.log(event.getKey(), method, "Scheduling general failure callback");
                      executionQueue.add(Task.create(this, target, method, event, failure));
                  }
              }
          }
      }
docs: Schedules sending failure callback to all registered targets.