nmr 0.1.3

NMR data tools for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Internal model/evidence failures, independent of any transport format.

#[derive(Debug, thiserror::Error)]
pub(crate) enum ModelError {
    #[error("invalid model structure")]
    Structure,
    #[error("invalid model: {0}")]
    Validation(String),
    #[error("unsupported history version {0}")]
    UnsupportedHistoryVersion(String),
    #[error("scientific digest mismatch")]
    DigestMismatch,
    #[error(transparent)]
    Execution(#[from] crate::execution::ExecutionError),
}