ReferenceRust referencearise-verify
arise-verify · error
Source declarations, signatures and documentation for error.
Source: sigil/node/../arise-bridge/arise-verify/src/error.rs. SHA-256: 08e6517384306a03c27d724971900d7b191e792f58ee82fdf263f147ba93110f.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
error::VerifyError
Errors that can occur during compute verification.
#[derive(Debug, Error)]
pub enum VerifyError {
/// The referenced sentinel probe was not found.
#[error("probe not found: {0}")]
ProbeNotFound(String),
/// The referenced provider was not found.
#[error("provider not found: {0}")]
ProviderNotFound(String),
/// Not enough providers are available for redundant verification.
#[error("insufficient providers: required {required}, available {available}")]
InsufficientProviders {
/// The number of providers required.
required: usize,
/// The number of providers available.
available: usize,
},
/// Two or more providers in a redundant verification share a human root.
#[error("duplicate human root DID: {0}")]
DuplicateHumanRoot(String),
/// The optimistic challenge window has already closed.
#[error("challenge window is closed")]
ChallengeWindowClosed,
/// TEE attestation report verification failed.
#[error("TEE verification failed: {0}")]
TeeVerificationFailed(String),
/// Hardware benchmark claims do not match measured values.
#[error("benchmark mismatch: {0}")]
BenchmarkMismatch(String),
}Source line: 7.