From 5f795f1a85d65d5967586dc914ddbe2b542153b6 Mon Sep 17 00:00:00 2001 From: James McMahon Date: Thu, 21 Nov 2024 12:24:54 +0000 Subject: [PATCH] Update parse_error.R --- R/parse_error.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/parse_error.R b/R/parse_error.R index 353d91a..ef538b3 100644 --- a/R/parse_error.R +++ b/R/parse_error.R @@ -2,7 +2,8 @@ #' #' @param error "error" element of an object produced by `httr::content` #' @return character string -#' +#' @keywords internal +#' @noRd parse_error <- function(error) { error_message <- error$message error_type <- error$`__type`