View source: R/default_functions.R
default_exception_handler | R Documentation |
Throws a timestamped warning instead of stopping the program. This is the default exception handler used by Loggers.
default_exception_handler(e)
e |
an |
The warning as character
vector
tryCatch(stop("an error has occurred"), error = default_exception_handler)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.