R.oo (version 1.24.0)

Exception$getLastException: Static method to get the last Exception thrown

Description

Static method to get the last Exception created.

Usage

## Static method (use this):
## Exception$getLastException(...)

## Don't use the below: # S3 method for Exception getLastException(this, ...)

Arguments

...

Not used.

Value

Returns an Exception object.

See Also

For more information see Exception. See also tryCatch().

Examples

Run this code
# NOT RUN {
For a complete example see help(Exception).
# }

Run the code above in your browser using DataCamp Workspace