forbidden_negative_error

forbidden_negative_error(subclass, message = "", call = sys.call(-1),
  ...)

Arguments

...

Examples

tryCatch( stop(forbidden_negative_error(message = "variable")), forbidden_negative_error = function(e) stop(e))
#> Error in stop(forbidden_negative_error(message = "variable")): Forbidden negative error variable