Skip to main content

qssm_ms/
error.rs

1use qssm_utils::MerkleError;
2use thiserror::Error;
3
4#[derive(Debug, Error)]
5#[non_exhaustive]
6pub enum MsError {
7    #[error("no valid rotation found within nonce range (0..=255)")]
8    NoValidRotation,
9    #[error("invalid proof field: {0}")]
10    InvalidProofField(&'static str),
11    #[error(transparent)]
12    Merkle(#[from] MerkleError),
13}