Пример #1
0
 public BactkoryCallError(HttpStatusCode responceStatus, CallErrorType errorType)
 {
     ResponceStatus = responceStatus;
     ErrorType      = errorType;
     if (responceStatus == HttpStatusCode.Unauthorized)
     {
         ErrorType = CallErrorType.UnAuthorize;
     }
 }
Пример #2
0
 public BacktoryEditorCallError(CallErrorType errorType, bool masterLoginFailed, HttpStatusCode responceStatus)
 {
     ErrorType         = errorType;
     MasterLoginFailed = masterLoginFailed;
     ResponceStatus    = responceStatus;
     if (responceStatus == HttpStatusCode.Unauthorized)
     {
         ErrorType = CallErrorType.UnAuthorize;
     }
 }