private void OnDownloadError(ApiErrorFormat error) { if (OnError != null) { OnError(new Exception(error.code + ": " + error.message)); } }
public ApiRequestFailException(ApiErrorFormat error) : base(error.message) { Error = error; }
private void OnDownloadError(ApiErrorFormat error) { if (OnError != null) { OnError(new Exception(error.code + ": " + error.message)); } }
public ApiRequestFailException(ApiErrorFormat error) : base(error.message) { Error = error; }