stop {loggit2} | R Documentation |
This function is identical to base R's stop
,
but it includes logging of the exception message via loggit()
.
stop(..., call. = TRUE, domain = NULL, .loggit = TRUE, echo = TRUE)
... |
zero or more objects which can be coerced to character (and which are pasted together with no separator) or a single condition object. |
call. |
logical, indicating if the call should become part of the error message. |
domain |
see |
.loggit |
Should |
echo |
Should |
No return value.
Other handlers:
message()
,
stopifnot()
,
warning()
if (2 < 1) stop("This is a completely false condition, which throws an error")