1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! `Algorithm`-related errors use crate::error::Error; /// `Algorithm`-related errors pub type AlgorithmError = Error<AlgorithmErrorKind>; /// Kinds of `Algorithm`-related errors #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] pub enum AlgorithmErrorKind { /// Invalid algorithm tag #[fail(display = "invalid tag")] TagInvalid, }