pub fn make_rust_error_value(
message: &str,
kind: &str,
call: Option<SEXP>,
) -> SEXPExpand description
Build a tagged error-value SEXP for transport across the Rust→R boundary.
§Safety
Must be called from R’s main thread (standard R API constraint). The returned SEXP is unprotected — caller must protect if needed.
§Arguments
message- Human-readable error messagekind- Machine-readable error kind:"panic","result_err","none_err", or"other_rust_error"call- Optional R call SEXP for error context. WhenNone, usesR_NilValue.