1 2 3 4 5 6 7 8 9 10 11 12
use std::result; use fred::error::Error as FredError; use thiserror::Error; #[derive(Error, Debug)] pub enum Error { #[error(transparent)] Kv(#[from] FredError), } pub type Result<T> = result::Result<T, Error>;