onFailure

val onFailure: (errorMessage: String) -> Unit

Parameters

onFailure

invokes when token api returns failure response holding the errorMessage