clia-rustorm-dao 0.18.0

Dao provides a flexible way to access data from the database
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::Error;

#[derive(Error, Debug)]
pub enum ConvertError {
    #[error("Conversion not supported {0} to {1}")]
    NotSupported(String, String),
}


#[derive(Error, Debug)]
pub enum DaoError {
    #[error("ConvertError {0}")]
    ConvertError(ConvertError),
    #[error("No such value {0}")]
    NoSuchValueError(String),
}