public void SetException(string e, eWWWErrorType type) { CommonLog.Log($"SetException {e} {type}"); //Debug.LogError(StackTraceUtility.ExtractStackTrace()); ErrorType = type; if (e == null) { IsError = false; ErrorMsg = ""; } else { IsError = true; ErrorMsg = e; } IsCompleted = true; }
public void SetException(Exception e, eWWWErrorType type) { SetException(e.Message, type); }