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.
1 2 | # 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.