Enum miden_processor::ExecutionError
source · pub enum ExecutionError {
Show 33 variants
AdviceMapKeyNotFound(Word),
AdviceStackReadFailed(u32),
CallerNotInSyscall,
CodeBlockNotFound(Digest),
CycleLimitExceeded(u32),
DivideByZero(u32),
DynamicCodeBlockNotFound(Digest),
EventError(String),
Ext2InttError(Ext2InttError),
FailedAssertion {
clk: u32,
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(u32),
MalformedSignatureKey(&'static str),
MemoryAddressOutOfBounds(u64),
MerklePathVerificationFailed {
value: Word,
index: Felt,
root: Digest,
},
MerkleStoreLookupFailed(MerkleError),
MerkleStoreMergeFailed(MerkleError),
MerkleStoreUpdateFailed(MerkleError),
NotBinaryValue(Felt),
NotU32Value(Felt, Felt),
ProverError(ProverError),
SmtNodeNotFound(Word),
SmtNodePreImageNotValid(Word, usize),
SyscallTargetNotInKernel(Digest),
UnexecutableCodeBlock(CodeBlock),
}
Variants§
AdviceMapKeyNotFound(Word)
AdviceStackReadFailed(u32)
CallerNotInSyscall
CodeBlockNotFound(Digest)
CycleLimitExceeded(u32)
DivideByZero(u32)
DynamicCodeBlockNotFound(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(u32)
MalformedSignatureKey(&'static str)
MemoryAddressOutOfBounds(u64)
MerklePathVerificationFailed
MerkleStoreLookupFailed(MerkleError)
MerkleStoreMergeFailed(MerkleError)
MerkleStoreUpdateFailed(MerkleError)
NotBinaryValue(Felt)
NotU32Value(Felt, Felt)
ProverError(ProverError)
SmtNodeNotFound(Word)
SmtNodePreImageNotValid(Word, usize)
SyscallTargetNotInKernel(Digest)
UnexecutableCodeBlock(CodeBlock)
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)>
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
source§fn eq(&self, other: &ExecutionError) -> bool
fn eq(&self, other: &ExecutionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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