handleError

open fun handleError(statusCode: Int, exception: Exception?, listener: NimbusError.Listener)

Handle the error from Nimbus.

Parameters

statusCode

the status code of the request

exception

the underlying exception if one exists

listener

the callback for the error listener.a