getFailStr {FastUtils} | R Documentation |
This function generates a failure message string from a given condition. The message includes the context of the call and the specific condition message.
getFailStr(cond)
cond |
A condition object representing an error or warning - probably
from a |
A character string containing the failure message.
tryCatch(stop("Example error"), error = function(e) getFailStr(e))