Creates a custom error condition created with
rlang::abort()
with a - hopefully - more useful
error message and metadata.
abort_no_method_for_class(fun, class, ...)
fun | A character vector with the function name. |
---|---|
class | A character vector with the class name. |
... | Extra message to be added to the error message. Must be character string. |
Returns an error condition of classerror_no_method_for_class.