onError

open override var onError: (Throwable, Response?) -> Unit?

Called when the Transport receives an error