Skip to main content

r_stop

Function r_stop 

Source
pub fn r_stop(msg: &str) -> !
Expand description

Raise an R error via Rf_error (longjmp). Do not call from user code — use panic!() instead, which is caught by the framework.

This is used internally by generated code and the FFI guard layer.

§Panics

Panics if the message contains null bytes.