Print basic to console basic tryCatch template
remindMe_trycatch.RdPrint basic to console basic tryCatch template
Examples
remindMe_trycatch()
#> ++++++++++++++++++++++++++++++++++++++++++++++++++
#> Printing two examples of common tryCatches
#> ++++++++++++++++++++++++++++++++++++++++++++++++++
#>
#> p = 8
#> p = "string"
#>
#> tryCatch({
#> 8 + p
#> }, error = function(err) {
#> message("An error orccured....")
#> print(err$message)
#> })
#>
#>
#> tt = tryCatch({
#> temp = 8 + p
#> return(temp)
#> }, error = function(err) {
#> print(err$message)
#> temp = NULL
#> return(temp)
#> })
#> print(tt)