com.brightcove.player.edge

## Class ErrorListener

- java.lang.Object
- - com.brightcove.player.edge.ErrorListener

- Direct Known Subclasses:
    PlaylistListener, VideoListener

      public abstract class ErrorListener
      extends java.lang.Object

  ErrorListener identifies objects that might receive an error from an asynchronous operation.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ErrorListener()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onError(java.util.List<CatalogError> errors)` This method must be implemented to handle any error that occurs during an asynchronous operation.
    `void` | `onError(java.lang.String error)` Deprecated. Please use `onError(List)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ErrorListener

          public ErrorListener()

  - ### Method Detail

    - #### onError

          @Deprecated
          public void onError(@NonNull
                                          java.lang.String error)

      Deprecated. Please use `onError(List)`

    - #### onError

          public void onError(@NonNull
                              java.util.List<CatalogError> errors)

      This method must be implemented to handle any error that occurs during an asynchronous operation.
      Parameters:
        `errors` - the list of Catalog errors