Skip to main content

Module error

Module error 

Source
Expand description

R error types, control flow signals, and condition constructors.

Enums§

ConditionKind
The kind of R condition (error, warning, or message).
RError
R runtime error — wraps any module error with an R-facing category and preserves the full error chain via Arc<dyn Error>.
RErrorKind
The R-facing error category — determines how R’s condition system classifies the error.
RFlow
Combined error/signal type for the evaluator. Builtins return Result<RValue, RError>, the evaluator returns Result<RValue, RFlow>.
RSignal
Control flow signals — not errors, but propagated via Result for convenience

Functions§

get_class
Get the class vector from an RValue (if it has a class attribute).
make_condition
Create an R condition object (a list with message, call, and class attributes).
make_condition_with_call
Create an R condition object with an explicit call value.