use std::fmt;
#[derive(Debug, Clone)]
pub struct Error {
pub code: i32,
pub message: String,
}
impl fmt::Display for Error {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "ExcelReader error {}: {}", self.code, self.message)
}
}
impl std::error::Error for Error {}