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


open-AIMS/dataaimsr documentation built on July 1, 2023, 11:45 p.m.