public static ScriptResponse setupErrorResponse(string responseCode, string message, string token = "")
 {
     ScriptResponse sr = new ScriptResponse();
     sr.ResponseCode = responseCode;
     sr.Message = message;
     sr.token = token;
     return sr;
 }
Beispiel #2
0
        public static ScriptResponse setupErrorResponse(string responseCode, string message, string token = "")
        {
            ScriptResponse sr = new ScriptResponse();

            sr.ResponseCode = responseCode;
            sr.Message      = message;
            sr.token        = token;
            return(sr);
        }