.error_message {scenes} | R Documentation |
Generate an Error Message
.error_message(
parameter,
parameter_name,
valid_values,
special_message,
level = 2
)
parameter |
The argument to test. |
parameter_name |
The argument's name. Eventually this should be automatically handled through rlang or something, in theory. |
valid_values |
(optional) Expected values of the parameter. |
special_message |
A message tailored to the type of error. |
level |
How deep the check is relative to the original function. Default = 2. |