onError

abstract fun onError(sourceConfig: SourceConfig, errorEvent: ErrorEvent)

Is called when an error occurs.

Parameters

sourceConfig

The SourceConfig for which an error occurred

errorEvent

The ErrorEvent containing more information about the error