tryKeepTraceback {AnalysisPageServer} | R Documentation

## tryKeepTraceback

### Description

Wrapper around try-catch

### Usage

    tryKeepTraceback(expr)

### Arguments

`expr` | Expression to evaluate

### Value

Result of expression or error if thrown

### Examples

    x <- tryKeepTraceback(stop("no way"))
    if(is(x, "try-error"))  cat(getTraceback(x))

[Package AnalysisPageServer version 1.21.0 Index]