1 2 3 4 5 6 7 8 9
use thiserror::Error; pub type Result<T, E = Error> = std::result::Result<T, E>; #[derive(Debug, Error)] pub enum Error { #[error(transparent)] Sqlite(#[from] rusqlite::Error), }