Expand description
Error types for fallible IntoR conversions.
IntoRError is returned by try_into_sexp when conversion fails
(e.g., string exceeds R’s i32 length limit, or fields of a tuple fail).
Re-exports§
use crate::RValue;🔒use crate::condition::ConditionCall;🔒use crate::condition::ConditionData;🔒use crate::condition::ErrParts;🔒use crate::condition::RConditionData;🔒use crate::from_r::BatchedErrors;🔒
Structs§
- Element
Failures 🔒 - The failures of a container’s elements, folded into one
IntoRError::Elements. - Failed
Element - One failing element of a
FailedElements: its position and the parts of its condition. - Failed
Elements - The elements of a container whose conversion to R failed (a tuple’s
fields, the rows of a
Vecof tuples, the elements of anAsJsonVec): the batched message, the class they share and each failing element’s own condition with its position.
Enums§
- IntoR
Error - Error returned by
IntoR::try_into_sexpfor types whose conversion to R can fail.
Functions§
- index_
rvalue 🔒 - A position path as R numbers it: an integer vector, or a double vector for a position past R’s integer range (a row of a long list).