Package com.smartgwt.client.data.events

# Interface HandleErrorHandler

All Superinterfaces:
  `EventHandler`

public interface HandleErrorHandler extends EventHandler

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onHandleError(ErrorEvent event)`
  If you define this method on a DataSource, it will be called whenever the server returns a DSResponse with a status other than `STATUS_SUCCESS`.

- ## Method Details

  - ### onHandleError

    void onHandleError(ErrorEvent event)
    If you define this method on a DataSource, it will be called whenever the server returns a DSResponse with a status other than `STATUS_SUCCESS`. You can use this hook to do DataSource-specific error handling. Unless you call `ErrorEvent.cancel()`, `HandleErrorCallback.handleError()` will be called by Smart GWT right after this method completes.
    Parameters:
      `event` - the event