onError

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

Called when the Transport receives an error