Follows the guidance from rlang::abort() on applying a call and a class
in the error message. Used as a base in type-checkers to throw a properly
formatted error.
Usage
throw_type_error(object, arg_name, expected_type, call = rlang::caller_env())Follows the guidance from rlang::abort() on applying a call and a class
in the error message. Used as a base in type-checkers to throw a properly
formatted error.
throw_type_error(object, arg_name, expected_type, call = rlang::caller_env())