1 2 3 4 5 6 7 8 9 10 11 12 13 14
#![allow(missing_docs)] use thiserror::Error; use crate::FetchKey; #[derive(Debug, Error)] pub enum FetchError { #[error("Key not present in the queue: {0:?}")] KeyMissing(FetchKey), } /// Kitsune Fetch Result pub type FetchResult<T> = Result<T, FetchError>;