onError

abstract fun onError(@NonNull error: Throwable)

Gets called when the Comparison doesn't go as expected. The provided error holds additional information about the problem.

Parameters

error

The error object containing a description of what went wrong.