capture_exception: Report an error or exception object

View source: R/core.R

capture_exceptionR 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)

sentryR documentation built on May 29, 2024, 8:18 a.m.