capture_exception {sentryR} | R Documentation |
Report an error or exception object
Description
Report an error or exception object
Usage
capture_exception(error, ..., level = "error")
Arguments
error |
an error object |
... |
optional additional named parameters |
level |
the level of the message. Default: "error" |
Value
nothing; sends error to Sentry
Examples
## Not run:
capture_exception(simpleError("foo"), tags = list(version = "1.0"))
## End(Not run)
[Package sentryR version 1.1.2 Index]