withErrorControl: Error recovery and logging wrapper

Description Usage Arguments Value

View source: R/exceptions.R

Description

Run expression with error recovery and logging support

Usage

1
withErrorControl(expr, silentSuccess = FALSE, stopIsFatal = TRUE)

Arguments

expr

The expression to run

silentSuccess

Whether to hide messages on success

stopIsFatal

Whether to stop the process when an error occurs

Value

Whatever the expression returns


henfiber/later documentation built on May 20, 2019, 6:46 p.m.