onError

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

Called when Auth.buildHeaders method was unable to create authentication headers

Parameters

error

Specific error code

errorMessage

Error message