powered by
Throws a timestamped warning instead of stopping the program. This is the default exception handler used by Loggers.
default_exception_handler(e)
an error condition object
error condition
The warning as character vector
character
# NOT RUN { tryCatch(stop("an error has occurred"), error = default_exception_handler) # }
Run the code above in your browser using DataLab