getStackTrace.Exception: Gets the stack trace saved when the exception was created

getStackTrace.ExceptionR Documentation

Gets the stack trace saved when the exception was created

Description

.

Usage

## S3 method for class 'Exception'
getStackTrace(this, cleanup=getOption("R.oo::Exception/getStackTrace/args/cleanup",
  TRUE), ...)

Arguments

...

Not used.

Value

Returns a list containing the stack trace.

Author(s)

Henrik Bengtsson

See Also

*printStackTrace(). dump.frames(). tryCatch(). For more information see Exception.

Examples

## Not run: For a complete example see help(Exception).

R.oo documentation built on June 12, 2022, 9:05 a.m.