This function provides a wrapper around the base stop()
function,
but it automatically sets call.
to FALSE, which means the function
call itself is not included in the resulting error message. This makes error
messages cleaner.
The domain
argument can be used to specify a translation domain.
Examples
# \donttest{
try(stopp("This is a custom stop message without the call."), silent = TRUE)
# }