com.smartgwt.client.callbacks

## Interface EventErrorCallback

-     public interface EventErrorCallback

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(EventStreamData data, int nEvents)` A `Callback` called to report `event errors` from an `active` `EventStream` to a listener.

- - ### Method Detail

    - #### execute

          void execute(EventStreamData data,
                       int nEvents)

      A `Callback` called to report `event errors` from an `active` `EventStream` to a listener.
      Parameters:
        `data` - A JavaScript object representing the current state of the stream; `events` will be an array of all retained `EventStreamEvent`s captured by the stream since the last time the callback was invoked, oldest first. The last array element should be the `EventStreamEvent` that triggered this call and have an `errorTrace`.
        `nEvents` - The number of events captured by the stream since the last time the callback was invoked. Compare with `EventStreamData.nEvents`.
      See Also:
        `EventStream.setMaxSize(java.lang.Integer)`, `EventStream.setEventErrorListener(com.smartgwt.client.callbacks.EventErrorCallback)`