R/utils.R
is.error.Rd
Test for 'try-error' class
is.error(x)
An object to be test if it is "try-error"
Logical. TRUE for "try-error"; FALSE otherwise
TRUE
FALSE
http://adv-r.had.co.nz/Exceptions-Debugging.html