public BactkoryCallError(HttpStatusCode responceStatus, CallErrorType errorType) { ResponceStatus = responceStatus; ErrorType = errorType; if (responceStatus == HttpStatusCode.Unauthorized) { ErrorType = CallErrorType.UnAuthorize; } }
public BacktoryEditorCallError(CallErrorType errorType, bool masterLoginFailed, HttpStatusCode responceStatus) { ErrorType = errorType; MasterLoginFailed = masterLoginFailed; ResponceStatus = responceStatus; if (responceStatus == HttpStatusCode.Unauthorized) { ErrorType = CallErrorType.UnAuthorize; } }