lib / tv.smartclip.smartclientandroid.lib.smartcorefacade / ErrorManager / <init>

<init>

ErrorManager(di: IKoinDi)

Responsible for collecting errors and forward them to the EventProvider.

In the whole library, errors can be produced by the media player (SxMediaError) or by the core (SxAdError). All collected errors are forwarded to the EventProvider to notify the publisher. In case of a media player error we additionally fire an SxEventType.ERROR event so the core can read the media error from implemented ErrorJsInterface.