View source: R/tryCatchShiny.R
tryCatchShiny | R Documentation |
Open modal box on error in Shiny application. Requires useShinyalert - otherwise modal won't pop up.
tryCatchShiny(expr, stop_with_req = TRUE, title = "Error", size = "l", ...)
expr |
expression |
stop_with_req |
logical (default |
title |
The title of the modal. |
size |
The size (width) of the modal. One of |
... |
Arguments passed on to
|
## Not run:
tryCatchShiny::run_example("01-shiny-app")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.