onError

abstract fun onError(error: ErrorCode, errorMessage: String)

Called when buildHeaders method was unable to create authentication headers

Parameters

error

Specific error code

errorMessage

Error message