コード例 #1
0
ファイル: Response.cs プロジェクト: tymalo/SharpDestiny
		public Response(PlatformErrorCodes code, string status, object msgData, string msg, int throttleSeconds) {
			ErrorCode = code;
			ErrorStatus = status;
			MessageData = msgData;
			Message = msg;
			ThrottleSeconds = throttleSeconds;
		}
コード例 #2
0
 public Response(PlatformErrorCodes code, string status, object msgData, string msg, int throttleSeconds)
 {
     ErrorCode       = code;
     ErrorStatus     = status;
     MessageData     = msgData;
     Message         = msg;
     ThrottleSeconds = throttleSeconds;
 }
コード例 #3
0
 internal BungieResponse(T Response, PlatformErrorCodes ErrorCode, int ThrottleSeconds, string ErrorStatus, string Message, Dictionary <string, string> MessageData, string DetailedErrorTrace)
 {
     this.Response           = Response;
     this.ErrorCode          = ErrorCode;
     this.ThrottleSeconds    = ThrottleSeconds;
     this.ErrorStatus        = ErrorStatus;
     this.Message            = Message;
     this.MessageData        = MessageData;
     this.DetailedErrorTrace = DetailedErrorTrace;
 }
コード例 #4
0
 public BungieResponseErrorException(
     PlatformErrorCodes errorCode,
     string errorStatus,
     string responseMessage,
     Dictionary <string, string> messageData)
 {
     ErrorCode       = errorCode;
     ErrorStatus     = errorStatus;
     ResponseMessage = responseMessage;
     MessageData     = messageData;
 }