ra2_types/errors/
mod.rs

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