public static object ErrorException(this string result) { JSON_Error errorInfo = JsonConvert.DeserializeObject <JSON_Error>(result, JSONhandler); throw new PushbulletException(errorInfo.error.message, errorInfo.error.code); return(null); }
public static void ShowError(string result) { JSON_Error errorInfo = JsonConvert.DeserializeObject <JSON_Error>(result, JSONhandler); throw new pCloudException(errorInfo._ErrorMessage, errorInfo._ERRORCODE); }
public static void ShowError(string result) { JSON_Error errorInfo = JsonConvert.DeserializeObject <JSON_Error>(result, JSONhandler); throw new PushbulletException(errorInfo.error.message, errorInfo.error.code); }
public static keep2shareException ShowError(string result) { JSON_Error errorInfo = JsonConvert.DeserializeObject <JSON_Error>(result, JSONhandler); throw new keep2shareException(errorInfo.ErrorMessage, 1002); }