R/messages-error.R

Defines functions msg_method_disallows_arg msg_method_requires_arg msg_specified_id

msg_specified_id = function() {
  return("An 'id' value can never be specified directly.")
}

msg_method_requires_arg = function(method, arg) {
  msg = paste0("The method '", method, "' requires the argument '", arg, "'.")
  return(msg)
}

msg_method_disallows_arg = function(method, arg) {
  msg = paste0("The method '", method, "' does not accept the argument '", arg, "'.")
  return(msg)
}
sakrejda/smgr documentation built on Sept. 1, 2020, 10:03 a.m.