/// <summary> /// получаем error с помощью JObject.Parse() /// </summary> private static dynamic GetError(string json) { var parsError = Regex.Match(json, RegError, RegexOptions.IgnoreCase); if (parsError.Success) { DataProcessor.CreateError(json); } return(null); }