R/mod_error_modal.R
errorModal.Rd
A shiny module that shows messages in modal.
errorModal_ui(id) errorModal_server(id, msg) errorModal(msg)
A `character()` as the id of the Shiny module
The text to display in the modal
A shiny App
if (interactive()) { shiny::runApp(errorModal("my error text")) }