1 2 3 4 5 6 7 8 9
use std::{io::Error as IoError, sync::Arc}; use thiserror::Error; #[derive(Error, Debug, Clone)] pub enum Error { #[error("IO error: {0}")] IoError(#[from] Arc<IoError>), }