rdfox-sys 0.0.1

Low level bindings to the C api for RDFox, see rdfox-rs for the higher level Rust interface
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use thiserror::Error;

#[allow(missing_docs)]
#[derive(Error, Debug)]
pub enum Error {
    #[allow(dead_code)]
    #[error("Unknown Error")]
    Unknown,

    #[error(transparent)]
    CApiError(#[from] std::ffi::NulError),

    #[error("While {action}: {message}")]
    Exception { action: String, message: String },
}

unsafe impl Send for Error {}