| .report_api_error | R Documentation |
Standardizes the message every ESPN MLB wrapper emits inside its
tryCatch(error = ...) block: a timestamped friendly hint
(brace-interpolated against the caller env), a dump of the call's arguments,
and the actual error message. Wrappers capture their formals once near the
top with .args <- mget(setdiff(names(formals()), "...")) (or
.args <- .capture_args() for arg-less wrappers).
.report_api_error(e, hint = NULL, args = list())
e |
error condition. |
hint |
character. Friendly message with optional |
args |
optional named list of caller arguments to dump. |
Invisibly NULL. Called for its side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.