onError

abstract fun onError(errorCode: Int, errorMessage: String)

Notification method called when an error has occurred.

Parameters

errorCode

a network code associated with the error

errorMessage

a message associated with the error