onError

open fun onError(@NonNull error: Throwable)

Called if an error occurs during processing.

Parameters

error

The error that occurred.