Skip to main content

into_r_err_parts

Function into_r_err_parts 

Source
#[doc(hidden)]
pub fn into_r_err_parts<E: RConditionData + ?Sized>(e: &E) -> ErrParts
Expand description

Internal: the condition parts of a failed return conversion (IntoR::try_into_sexp returned Err(e)) in generated code, and of each failed element of a container’s conversion. Not public API.

Every IntoR::Error implements RConditionData, so the error gives its message, classes, fields and call choice wherever it fails, in a generic trait shim and inside a tuple too. No declared serde shape, so the call site needs no __MiniextendrInitMarker.