logincheck_stop_or_warn: logincheck_stop_or_warn

View source: R/utils_httr2.R

logincheck_stop_or_warnR Documentation

logincheck_stop_or_warn

Description

logincheck_stop_or_warn

Usage

logincheck_stop_or_warn(response, error, verbose, database)

Arguments

response

A HTTP response object

error

Boolean. Should the function warn or throw an error?

verbose

Boolean. Should the function message in case of success?

database

The database that the check should be run for

Value

In case of failure warns or errors. Invisibly returns TRUE (success) or FALSE (failure)


restatis documentation built on April 12, 2025, 1:28 a.m.