R/helper-error-msg.R

Defines functions capture_error_msg

capture_error_msg <- function(expr) {
  cat(rlang::catch_cnd(expr, classes = "error")$message, "\n", sep="")
}
javifar/TIDYVERSE-DPLYR documentation built on Dec. 20, 2021, 9:08 p.m.