Skip to main content

make_rust_condition_value

Function make_rust_condition_value 

Source
pub fn make_rust_condition_value(
    message: &str,
    kind: &str,
    class: Option<&str>,
    call: Option<SEXP>,
) -> SEXP
Expand description

Build a tagged condition value with no structured data payload.

Thin wrapper over make_rust_condition_value_with_data with data = None. This is the entry point used by all proc-macro-generated codegen (argument-conversion failures, Option::None, Result::Err), none of which carries a data payload. Only the user-facing error!() / warning!() / message!() / condition!() macros (routed through crate::unwind_protect) attach data.

ยงSafety

See make_rust_condition_value_with_data.