View source: R/utils.R View source: R/project.R View source: R/annotate_gui.R
handle_error | R Documentation |
Provides error handling with customizable success, error, and completion messages. Wraps expressions in a tryCatch block and displays appropriate notifications.
Provides error handling with customizable success, error, and completion messages. Wraps expressions in a tryCatch block and displays appropriate notifications.
Provides error handling with customizable success, error, and completion messages. Wraps expressions in a tryCatch block and displays appropriate notifications.
handle_error(expr, success_msg = NULL, error_msg = NULL, finally_msg = NULL)
handle_error(expr, success_msg = NULL, error_msg = NULL, finally_msg = NULL)
handle_error(expr, success_msg = NULL, error_msg = NULL, finally_msg = NULL)
expr |
Expression to evaluate |
success_msg |
Optional character string for success notification |
error_msg |
Optional character string for error notification |
finally_msg |
Optional character string for completion notification |
Result of the expression or NULL if error occurs
Result of the expression or NULL if error occurs
Result of the expression or NULL if error occurs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.