pub use hashx::Error as HashError;
#[derive(Clone, Debug, thiserror::Error)]
#[non_exhaustive]
pub enum Error {
#[error("hash construction error: {0}")]
Hash(#[from] HashError),
#[error("failed order constraint, Equi-X solution is not well formed")]
Order,
#[error("failed to verify hash sum constraints for a specific Equi-X challenge and solution")]
HashSum,
}