File: try_capture_stack.Rd

package info (click to toggle)
r-cran-evaluate 1.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 444 kB
  • sloc: sh: 13; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/traceback.R
\name{try_capture_stack}
\alias{try_capture_stack}
\title{Try, capturing stack on error}
\usage{
try_capture_stack(quoted_code, env)
}
\arguments{
\item{quoted_code}{code to evaluate, in quoted form}

\item{env}{environment in which to execute code}
}
\description{
This is a variant of \code{\link[=tryCatch]{tryCatch()}} that also captures the call
stack if an error occurs.
}
\keyword{internal}