condition.Rd
Condition objects are classed objects which can be raised when desired.
condition
objects are the most basic form; message, warning, and error
conditions are more specific. Additional classes can be added to make
condition handling easier and more targeted.
condition(message, class = NULL, capture_call = TRUE, ...) message_condition(message, class = NULL, capture_call = TRUE, ...) warning_condition(message, class = NULL, capture_call = TRUE, ...) error_condition(message, class = NULL, capture_call = TRUE, ...)
message | A message to display when the condition is raised |
---|---|
class | Character vector of classes to append to the condition class |
capture_call | Logical. When raised, should the condition include the call? |
... | Additional arguments to append to the condition object |