last.try.error: Get last try-error
Description
Suppose you are debugging, and have stepped-into a try statement, and the debugger has stopped at an error. You might actually want to return that error as an object of class "try-error", just like try would if you weren't debugging. To do that, type return( last.try.error()) at the debug prompt.Usage
# Normally you would type return( last.try.error()) at the debug prompt
last.try.error()
Value
- An object of class
try-error, just like try itself returns in case of error.