onError

abstract fun onError(error: String)

Receives the error message.

Parameters

error

the error message to be shown