halt: Stop, log, and no call

View source: R/log.R

haltR Documentation

Stop, log, and no call

Description

Wrapper around base::stop() that logs the error message and then stops with call. = FALSE by default.

Usage

halt(..., call. = FALSE)

Arguments

...

arguments passed to stop

call.

logical: print the call? Default is FALSE, unlike stop

Value

Nothing. Raises an error.


nealrichardson/httpcache documentation built on April 21, 2023, 3:41 p.m.