Skip to main content

condition_message

Function condition_message 

Source
unsafe fn condition_message(cond: SEXP) -> String
Expand description

conditionMessage(cond), through S3 dispatch, so a class with its own method (rlang’s errors, say) words its message. If the method fails or returns no string: the condition’s message field, then a placeholder.

§Safety

R’s main thread; cond rooted.