1//! 错误类型定义 2 3use thiserror::Error; 4 5/// XLSX 处理错误类型 6#[derive(Error, Debug)] 7pub enum XlsxError { 8 #[error("Invalid Zip Format")] 9 InvalidZipFormat, 10 #[error("{0}")] 11 TemplateRenderError(String), 12}