capture_exception | R Documentation |
Report an error or exception object
capture_exception(error, ..., level = "error")
error |
an error object |
... |
optional additional named parameters |
level |
the level of the message. Default: "error" |
nothing; sends error to Sentry
## Not run:
capture_exception(simpleError("foo"), tags = list(version = "1.0"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.