sell <- function(cars) { if (length(cars) == 0) { stop("No cars for sale") }}msg <- tryCatch(sell(character(0)), error = conditionMessage)# msg = No cars for salecat("msg =", msg, "\n")