You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Catch and rethrow low-level technical errors with a message that makes sense to the end user (+ sub class it for precise recognition and recovery/fine-grained handling with tryCatch(exp, this_error = my_handler) and suppress_warnings("that_warning"))
add additional (meta) data to the condition, e. g. actual values
See rlang::abort and rlang::warn (signature: msg, subclass, mydata, ...)
E. g.
signalCondition
?)finally
oron.exit
)invokeRestart("abort")
to "rethrow a caught interrupt condition" to interrupt/exit the running R script)Focus on the typical use cases and show how to apply
tryCatchLog
for them...The text was updated successfully, but these errors were encountered: