decorate_err_msg {teal} | R Documentation |
Capture error and decorate error message.
Description
Capture error and decorate error message.
Usage
decorate_err_msg(x, pre = character(0), post = character(0))
Arguments
x |
object to evaluate |
pre |
( |
post |
( |
Value
x
if no error, otherwise throws error with decorated message
[Package teal version 0.16.0 Index]