1 2 3 4 5 6 7 8 9 10 11 12
use std::io; use crate::format::Format; #[derive(Debug)] pub enum ConversionError { IoError(io::Error), UnknownSourceFormat, Unexpected, UnsupportedOperation, IndirectConversionFailure(Format, Format, Box<ConversionError>), //(source, target, error) }