pub enum VerificationError {
DimensionMismatch {
expected: u32,
actual: u32,
},
TypeCheckFailed(String),
ProofConstructionFailed(String),
ConversionTimeout {
max_reductions: u32,
},
UnificationFailed(String),
ArenaExhausted {
allocated: u32,
},
DeclarationNotFound {
name: String,
},
AttestationError(String),
}Expand description
Errors from the formal verification layer.
Variants§
DimensionMismatch
Vector dimension does not match the index dimension.
TypeCheckFailed(String)
The lean-agentic type checker rejected the proof term.
ProofConstructionFailed(String)
Proof construction failed during term building.
ConversionTimeout
The conversion engine exhausted its fuel budget.
UnificationFailed(String)
Unification of proof constraints failed.
ArenaExhausted
The arena ran out of term slots.
DeclarationNotFound
A required declaration was not found in the proof environment.
AttestationError(String)
Ed25519 proof signing or verification failed.
Trait Implementations§
Source§impl Debug for VerificationError
impl Debug for VerificationError
Source§impl Display for VerificationError
impl Display for VerificationError
Source§impl Error for VerificationError
impl Error for VerificationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for VerificationError
impl RefUnwindSafe for VerificationError
impl Send for VerificationError
impl Sync for VerificationError
impl Unpin for VerificationError
impl UnsafeUnpin for VerificationError
impl UnwindSafe for VerificationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more