catch_unknown_api {salesforcer}R 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.


[Package salesforcer version 1.0.2 Index]