Creates a custom error condition created with
rlang::abort()
with a - hopefully - more useful
error message and metadata.
abort_column_not_found(data, col_name)
data | A data frame. |
---|---|
col_name | A character vector with the column name. |
Returns an error condition of classerror_column_not_found.