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` diff --git a/man/parse_error.Rd b/man/parse_error.Rd deleted file mode 100644 index bbaab17..0000000 --- a/man/parse_error.Rd +++ /dev/null @@ -1,17 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/parse_error.R -\name{parse_error} -\alias{parse_error} -\title{Generates error message from an "error" element of an \code{httr::content} object} -\usage{ -parse_error(error) -} -\arguments{ -\item{error}{"error" element of an object produced by \code{httr::content}} -} -\value{ -character string -} -\description{ -Generates error message from an "error" element of an \code{httr::content} object -}