RAVE Failure Message

rave_failure(message, level = "ERROR", call = NULL, .stop = TRUE)

Arguments

message

error message, character

level

level of error message; can be chosen from "INFO", "WARNING", or "ERROR"

call

call expression

.stop

stop or just return the condition

Value

Error condition or stop