abort_no_method_for_class: Abort method if class is not implemented

View source: R/abort.R

abort_no_method_for_classR Documentation

Abort method if class is not implemented

Description

Creates a custom error condition created with rlang::abort() with a - hopefully - more useful error message and metadata.

Usage

abort_no_method_for_class(fun, class, ...)

Arguments

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.

Value

Returns an error condition of classerror_no_method_for_class.

See Also

abort_argument_type(), abort_argument_class(), abort_argument_length(), abort_argument_diff_length(), abort_column_not_found(), abort_package_not_installed()


verasls/lvmisc documentation built on Feb. 12, 2024, 8:21 a.m.