sinkhole-core 0.0.1

The core traits and types for the `sinkhole` library.
Documentation
#[derive(Debug)]
pub struct StorageError {
    pub error: String,
}

impl std::fmt::Display for StorageError {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "Cause: {}", self.error)
    }
}

#[derive(Debug)]
pub struct QueryError {
    pub error: String,
}

impl std::fmt::Display for QueryError {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "Cause: {}", self.error)
    }
}