ontocore-obo 0.14.0

OBO Format 1.4 patch write-back for OntoCore
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use thiserror::Error;

pub type Result<T> = std::result::Result<T, OboError>;

#[derive(Debug, Error)]
pub enum OboError {
    #[error("OBO parse error: {0}")]
    Parse(String),
    #[error("term not found: {0}")]
    TermNotFound(String),
    #[error("invalid patch: {0}")]
    PatchInvalid(String),
    #[error(transparent)]
    Core(#[from] ontocore_core::OntoCoreError),
    #[error("IO error: {0}")]
    Io(String),
}