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