throw_error()stops execution of the current expression and executes an error action.throw_warning()generates a warning message.catch_conditions()andcatch_message()handles unusual conditions.
Usage
throw_error(.subclass, message, call = NULL, ...)
throw_warning(.subclass, message, call = NULL, ...)
catch_message(expr)
catch_conditions(expr)