onError

abstract fun onError(@NonNull error: T)

Called when an error occurs following a request executed by the developer.

Parameters

error

Error: the defined error.