throw: Throw a Condition

View source: R/throw.R

throwR Documentation

Throw a Condition

Description

Throws a condition of class c("error", "fritools", "condition").

Usage

throw(message_string, system_call = sys.call(-1), ...)

Arguments

message_string

The message to be thrown.

system_call

The call to be thrown.

...

Arguments to be passed to base::structure.

Details

We use this condition as an error dedicated to fritools.

Value

The function does never return anything, it stops with a condition of class c("error", "fritools", "condition").

See Also

Other bits and pieces: golden_ratio(), is_difftime_less(), is_valid_primary_key(), r_cmd_install(), str2num(), strip_off_attributes(), tapply()


fritools documentation built on Nov. 19, 2023, 1:06 a.m.