//! Error types for DrawingML parsing.
usethiserror::Error;/// Errors that can occur when working with DrawingML content.
#[derive(Error, Debug)]pubenumError{/// XML parsing error.
#[error("XML error: {0}")]
Xml(#[from]quick_xml::Error),/// Invalid or malformed content.
#[error("Invalid content: {0}")]
Invalid(String),}/// Result type for DrawingML operations.
pubtypeResult<T>=std::result::Result<T, Error>;