Skip to main content

BATCHED_ERROR_CAP

Constant BATCHED_ERROR_CAP 

Source
pub(crate) const BATCHED_ERROR_CAP: usize = 10;
Expand description

Cap on the number of per-element failures listed in a batched vector conversion error; the remainder is summarized as "and N more".

pub(crate) (rather than file-private) so crate::into_r_as’s StorageCoerceError::Batched (#1097) shares the exact same cap instead of drifting from the inbound BatchedErrors path.