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

(character(1)) A string to prepend to error message

post

(character(1)) A string to append to error message

Value

x if no error, otherwise throws error with decorated message


[Package teal version 0.16.0 Index]