public void OnError(IHTTPRequest request, IHTTPResponse response, Exception exception) { if (listener != null) { listener.OnError(request, response, exception); } }
public override void OnError(IHTTPResponse response, Exception exception) { IHTTPListener listener = getEffectiveListener(); if (listener != null) { UnityThreadHelper.Dispatcher.Dispatch(delegate { listener.OnError(this, response, exception); }); } }
public virtual void OnError(IHTTPResponse response, Exception exception) { IHTTPListener effectiveListener = getEffectiveListener(); if (effectiveListener != null) { try { effectiveListener.OnError(this, response, exception); } catch (Exception exception2) { Debug.LogError("A listener threw an exception."); Debug.LogException(exception2); } } }
public override void perform(IHTTPListener inner) { inner.OnError(request, response, exception); }