Description Usage Arguments Examples
This shiny module UI runs a specified function and alerts tha the function was completed or shows an error with message parameter for most likely cause.
1 2 | ErrorModal(input, output, session, title = "Error", subtitle = NULL,
message = "Sorry, an error has occured", try_this)
|
title |
Title for the Error box, defaults to "Error", but could be custom message |
subtitle |
Optional subtitle to describe the error |
message |
Ideally most likely cause for error. Example would be |
try_this |
User specified function to run. This will be completed if successful or on error the modal box will be shown |
1 | callModule(ErrorModal,"TryThis_01",title="Error",subtitle=NULL,message='Sorry, invalid column selection',try_this=column_select(input$col))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.