make.err.msg: Makes a pretty error message to be displayed on the console

View source: R/rutils.R

make.err.msgR Documentation

Makes a pretty error message to be displayed on the console

Description

Makes a pretty error message to be displayed on the console

Usage

make.err.msg(err_msg = "", err_src = "rutils::make.err.msg")

Arguments

err_msg

A character string: Message to be displayed

err_src

A character string: Source from which the error message is issued.

Value

A character string containing the modified error message

Examples

stop(make.err.msg(err_msg = "Some error message", err_src = match.call()[[1]]))

Error:

Error from: match.call:
------------------------

Some error message


genpack/gener documentation built on March 14, 2023, 9:52 a.m.