Provides a consistent style for errors and warnings.
report_error(faulty_input, error_condition, requirement, context = NULL,
advice, hint = NULL, halt = TRUE)
Unquoted function argument that is the cause of the error condition.
A sentence explaining the condition that invoked the error.
A sentence that explains what is required.
(Optional) A sentence that contextualizes the error
Advice for the user to avoid the error.
If the input can be guessed,
(logical, default: TRUE
) Should the function signal an error and halt?