on_error: on_error

View source: R/tryCatchShiny.R

on_errorR Documentation

on_error

Description

Open modal window with error message.

Usage

on_error(e, stop_with_req = TRUE, title = "Error", size = "l", ...)

Arguments

e

object of simpleError class

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.

...

optional arguments for shinyalert

Examples

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

## End(Not run)

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