catch_unknown_api: Catch unknown API type

View source: R/utils-input-validation.R

catch_unknown_apiR Documentation

Catch unknown API type

Description

This function will alert the user that the supplied value to the argument api_type is not one of the valid options.

Usage

catch_unknown_api(x, supported = c(character(0)))

Arguments

x

character; The value of the api_type argument provided by the user.

Value

simpleError

Note

This function is meant to be used internally. Only use when debugging.


salesforcer documentation built on March 18, 2022, 6:26 p.m.