//! What can go wrong at this level.
//!
//! Very little can. Nearly every reader here is damage-tolerant by design —
//! a missing key, a mistyped value or a broken tree yields an absent or empty
//! answer plus a diagnostic, never an error — so this enum covers only the
//! two cases where a caller genuinely cannot proceed.
use ObjRef;
/// A failure that stops a document-level operation.