public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return JsonSerializer.ToJson(error);
        }
Exemple #2
0
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return Json.Stringify(error, WebAppConfig.JsonDateFormat);
        }
Exemple #3
0
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return(Json.Stringify(error, WebAppConfig.JsonDateFormat));
        }
Exemple #4
0
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return(JsonSerializer.ToJson(error));
        }