api_dzengi_rs/errors/
crypto_error.rs1use hmac::digest::InvalidLength;
2use thiserror::Error;
3
4#[derive(Debug, Error, Clone, Copy, PartialEq, Eq)]
5pub enum CryptoError {
6 #[error("Params is empty")]
7 ParamsEmpty,
8 #[error("{0}")]
9 InvalidLength(#[from] InvalidLength),
10}