Skip to contents

Report bug

Usage

report_bug(
  r = shiny::reactiveValues(),
  output,
  error_message = character(),
  error_name = character(),
  category = character(),
  error_report = character(),
  i18n = character(),
  ns = character()
)

Arguments

r

Shiny reactive value, used to communicate between modules

output

Shiny output variable

error_message

Error message that will be displayed to user, after translation (character())

error_name

Name of the error, to add an entry in the log table (character)

category

Category : error or warning ? (character)

error_report

Report of the error (character)

i18n

Translator object from shiny.i18n library

Examples

if (FALSE) {
report_bug(r = r, output = output, error_message = "failed_execute_code", 
  error_name = "failed_execute_code", category = "Error", error_report = toString(error_report, i18n = i18n))
}