pub type Result = std::result::Result; pub type BoxError = Box; #[derive(Debug, thiserror::Error)] pub enum Error { #[error("IO error: {0}")] Io(#[from] std::io::Error), #[error("SQLite error: {0}")] Sqlite(#[from] rusqlite::Error), #[error("A fatal error occured injecting frames: {0}")] FatalInjectError(BoxError), }