| last.try.error {debug} | R Documentation |
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.
# Normally you would type return( last.try.error()) at the debug prompt last.try.error()
An object of class try-error, just like try itself returns in case of error.