Enum miden_processor::ExecutionError
source · pub enum ExecutionError {
Show 36 variants
AdviceMapKeyNotFound(Word),
AdviceStackReadFailed(RowIndex),
CallerNotInSyscall,
CircularExternalNode(Digest),
CycleLimitExceeded(u32),
DivideByZero(RowIndex),
DynamicNodeNotFound(Digest),
EventError(String),
Ext2InttError(Ext2InttError),
FailedAssertion {
clk: RowIndex,
err_code: u32,
err_msg: Option<String>,
},
FailedSignatureGeneration(&'static str),
InvalidFmpValue(Felt, Felt),
InvalidFriDomainSegment(u64),
InvalidFriLayerFolding(QuadExtension<Felt>, QuadExtension<Felt>),
InvalidMemoryRange {
start_addr: u64,
end_addr: u64,
},
InvalidStackDepthOnReturn(usize),
InvalidStackWordOffset(usize),
InvalidTreeDepth {
depth: Felt,
},
InvalidTreeNodeIndex {
depth: Felt,
value: Felt,
},
LogArgumentZero(RowIndex),
MalformedSignatureKey(&'static str),
MalformedMastForestInHost {
root_digest: Digest,
},
MastNodeNotFoundInForest {
node_id: MastNodeId,
},
MastForestNotFound {
root_digest: Digest,
},
MemoryAddressOutOfBounds(u64),
MerklePathVerificationFailed {
value: Word,
index: Felt,
root: Digest,
err_code: u32,
},
MerkleStoreLookupFailed(MerkleError),
MerkleStoreMergeFailed(MerkleError),
MerkleStoreUpdateFailed(MerkleError),
NotBinaryValue(Felt),
NotU32Value(Felt, Felt),
ProgramAlreadyExecuted,
ProverError(ProverError),
SmtNodeNotFound(Word),
SmtNodePreImageNotValid(Word, usize),
SyscallTargetNotInKernel(Digest),
}
Variants§
AdviceMapKeyNotFound(Word)
AdviceStackReadFailed(RowIndex)
CallerNotInSyscall
CircularExternalNode(Digest)
CycleLimitExceeded(u32)
DivideByZero(RowIndex)
DynamicNodeNotFound(Digest)
EventError(String)
Ext2InttError(Ext2InttError)
FailedAssertion
FailedSignatureGeneration(&'static str)
InvalidFmpValue(Felt, Felt)
InvalidFriDomainSegment(u64)
InvalidFriLayerFolding(QuadExtension<Felt>, QuadExtension<Felt>)
InvalidMemoryRange
InvalidStackDepthOnReturn(usize)
InvalidStackWordOffset(usize)
InvalidTreeDepth
InvalidTreeNodeIndex
LogArgumentZero(RowIndex)
MalformedSignatureKey(&'static str)
MalformedMastForestInHost
MastNodeNotFoundInForest
Fields
§
node_id: MastNodeId
MastForestNotFound
MemoryAddressOutOfBounds(u64)
MerklePathVerificationFailed
MerkleStoreLookupFailed(MerkleError)
MerkleStoreMergeFailed(MerkleError)
MerkleStoreUpdateFailed(MerkleError)
NotBinaryValue(Felt)
NotU32Value(Felt, Felt)
ProgramAlreadyExecuted
ProverError(ProverError)
SmtNodeNotFound(Word)
SmtNodePreImageNotValid(Word, usize)
SyscallTargetNotInKernel(Digest)
Trait Implementations§
source§impl Clone for ExecutionError
impl Clone for ExecutionError
source§fn clone(&self) -> ExecutionError
fn clone(&self) -> ExecutionError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExecutionError
impl Debug for ExecutionError
source§impl Display for ExecutionError
impl Display for ExecutionError
source§impl Error for ExecutionError
impl Error for ExecutionError
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()
source§impl From<Ext2InttError> for ExecutionError
impl From<Ext2InttError> for ExecutionError
source§fn from(value: Ext2InttError) -> Self
fn from(value: Ext2InttError) -> Self
Converts to this type from the input type.
source§impl PartialEq for ExecutionError
impl PartialEq for ExecutionError
impl Eq for ExecutionError
impl StructuralPartialEq for ExecutionError
Auto Trait Implementations§
impl Freeze for ExecutionError
impl RefUnwindSafe for ExecutionError
impl Send for ExecutionError
impl Sync for ExecutionError
impl Unpin for ExecutionError
impl UnwindSafe for ExecutionError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)