imbibe-persistence 0.0.1

details the database model of the information extracted from a block and its constituent transactions
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::record::error::InvalidValueError;

#[derive(Debug, thiserror::Error)]
pub enum StoreError {
	#[error("db error: {0}")]
	Db(#[from] diesel::result::Error),

	#[error("invalid value error: {0}")]
	InvalidValue(#[from] InvalidValueError),
}