new_condition(message, call = NULL, class = NULL)new_error(message, call = NULL, class = NULL)new_warning(message, call = NULL, class = NULL)new_message(message, call = NULL, class = NULL)
Allows the creation of basic and custom conditions, optionally overriding their class.
new_error("Something went wrong", class = "oops")<oops: Something went wrong>