Skip to main content

imbibe_persistence/store/
error.rs

1use crate::record::error::InvalidValueError;
2
3#[derive(Debug, thiserror::Error)]
4pub enum StoreError {
5	#[error("db error: {0}")]
6	Db(#[from] diesel::result::Error),
7
8	#[error("invalid value error: {0}")]
9	InvalidValue(#[from] InvalidValueError),
10}