[−][src]Function extendr_api::unwrap_or_throw
pub fn unwrap_or_throw<T>(r: Result<T, &'static str>) -> T
Throw an R error if a result is an error.
pub fn unwrap_or_throw<T>(r: Result<T, &'static str>) -> T
Throw an R error if a result is an error.