stop_w_errors_listed: List a vector of errors and stop execution

View source: R/utils-input-validation.R

stop_w_errors_listedR Documentation

List a vector of errors and stop execution

Description

List a vector of errors and stop execution

Usage

stop_w_errors_listed(main_text = NULL, errors = NULL)

Arguments

main_text

character; The text used to introduce the list of errors, typically ending with a colon. For example: "Please fix the following issue(s) before proceeding:".

errors

errors; a vector of errors that will be formatted into a bulleted list for the user to review with each error listed on a new line.

Value

simpleError

Note

This function is meant to be used internally. Only use when debugging.


salesforcer documentation built on March 18, 2022, 6:26 p.m.