usethiserror::Error;/// Errors specific to PPTX processing.
#[derive(Debug, Error)]pubenumPptxError{/// Error from the underlying OPC/XML layer.
#[error(transparent)]
Core(#[from]crate::core::Error),/// The presentation part was not found.
#[error("missing presentation")]
MissingPresentation,}/// Convenience alias for `Result<T, PptxError>`.
pubtypeResult<T>=std::result::Result<T, PptxError>;