handle_error: 'GET' error handler

View source: R/helpers.R

handle_errorR Documentation

GET error handler

Description

Displays error status

Usage

handle_error(dt_req)

Arguments

dt_req

An URL GET output

Details

This function retrieves the status and content of dt_req via the httr package.

Value

A character vector conveying the error message.

Author(s)

AIMS Datacentre adc@aims.gov.au


ropensci/dataaimsr documentation built on July 2, 2023, 3:58 a.m.