1 2 3 4 5 6 7 8 9 10
use derive_more::Display; use thiserror::Error; pub type Result<T> = std::result::Result<T, MuleError>; #[derive(Error, Debug, Display)] pub enum MuleError { Io(#[from] std::io::Error), SchemaInference(String), }