1//! Error types for RA2 MIX file operations 2 3#[cfg(feature = "image")] 4mod from_image; 5#[cfg(feature = "toml")] 6mod from_toml; 7 8use crate::Ra2Error; 9 10impl From<std::io::Error> for Ra2Error { 11 fn from(error: std::io::Error) -> Self { 12 Self::IoError(error) 13 } 14}