gtx_fatal_stop: gtx_fatal_stop

Description Usage Arguments Author(s) See Also

View source: R/gtx_log.R

Description

Wrapper around futile.logger::flog.fatal(glue::glue(.msg)), which also throws a true fatal error with the same message, using stop(). Useful if calling within a function body where we want to stop execution, and also ensures the stop() message goes to the console (even if futile.logger messages have been redirected).

Usage

1

Arguments

.msg

msg to glue and flog

Author(s)

Toby Johnson Toby.x.Johnson@gsk.com

See Also

Other gtx_log: gtx_debug, gtx_error, gtx_fatal, gtx_info, gtx_warn


tobyjohnson/gtx documentation built on Aug. 30, 2019, 8:07 p.m.