// Copyright © 2026 Stephan Kunz
//! Roxml's errors.
use Error;
/// Things that may go wrong during reading of the XML.
///
/// Errors are only reported by [`XmlReader::root_element`](crate::XmlReader::root_element),
/// which checks the structure of the whole document. Once a root element is
/// obtained, navigating below it cannot fail.