make.err.msg | R Documentation |
Makes a pretty error message to be displayed on the console
make.err.msg(err_msg = "", err_src = "rutils::make.err.msg")
err_msg |
A character string: Message to be displayed |
err_src |
A character string: Source from which the error message is issued. |
A character string containing the modified error message
stop(make.err.msg(err_msg = "Some error message", err_src = match.call()[[1]])) Error: Error from: match.call: ------------------------ Some error message
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.