mint-core 1.3.1

Core library for building hex files from data and layout definitions.
Documentation
use thiserror::Error;

#[derive(Debug, Error)]
pub enum DataError {
    #[error("File error: {0}.")]
    FileError(String),

    #[error("Excel column not found: {0}.")]
    ColumnNotFound(String),

    #[error("Excel retrieval error: {0}.")]
    RetrievalError(String),

    #[error("Misc error: {0}.")]
    MiscError(String),

    #[error("While retrieving '{name}': {source}")]
    WhileRetrieving {
        name: String,
        #[source]
        source: Box<DataError>,
    },
}