#[derive(Clone, Debug, thiserror::Error)]
#[non_exhaustive]
pub enum SolutionErrorV1 {
#[error("Solution has an unrecognized Seed value")]
Seed,
#[error("Failed to verify solution effort")]
Effort,
#[error("Failed to verify order of Equi-X proof")]
Order,
#[error("Failed to verify hash sums for Equi-X proof")]
HashSum,
#[error("Solution requires a challenge string that fails HashX constraints")]
ChallengeConstraints,
}
#[derive(Clone, Debug, thiserror::Error)]
#[non_exhaustive]
pub enum RuntimeErrorV1 {
#[error("Equi-X error, {0}")]
EquiX(#[from] equix::Error),
}