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 Nov. 2, 2024, 1:07 a.m.