use rlang::arg_match0() for a better error message
remove marking the other errors as internal - the functions are described as internal (which is probably the reason the errors got marked as internal) but they are also exported and the errors are not actually internal in the sense that this should never happen and thus be reported at the dials repo. Marking them as internal has led to issues like #258.
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Two changes:
rlang::arg_match0()
for a better error message