onFailWithError

abstract fun onFailWithError(transport: ITransport, exception: Exception)

サーバーとの接続でエラーが発生した際にコールしてください。