tryCatchShiny: tryCatchShiny

View source: R/tryCatchShiny.R

tryCatchShinyR Documentation

tryCatchShiny

Description

Open modal box on error in Shiny application. Requires useShinyalert - otherwise modal won't pop up.

Usage

tryCatchShiny(expr, stop_with_req = TRUE, title = "Error", size = "l", ...)

Arguments

expr

expression

stop_with_req

logical (default TRUE). If TRUE, then stop shiny code execution with req

title

The title of the modal.

size

The size (width) of the modal. One of "xs" for extra small, "s" for small (default), "m" for medium, or "l" for large.

...

Arguments passed on to on_error

e

object of simpleError class

Examples

## Not run: 
  tryCatchShiny::run_example("01-shiny-app")

## End(Not run)

Tazovsky/tryCatchShiny documentation built on Nov. 21, 2023, 9:09 a.m.