stop_w_errors_listed {salesforcer}R 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.


[Package salesforcer version 1.0.2 Index]