Enum cairo_vm::vm::errors::runner_errors::RunnerError
source · pub enum RunnerError {
Show 44 variants
NoExecBase,
NoExecBaseForEntrypoint,
NoProgBase,
MissingMain,
UninitializedBase,
BaseNotFinished,
WriteFail,
NoPC,
NoAP,
NoFP,
MemoryValidationError(MemoryError),
MemoryInitializationError(MemoryError),
NonRelocatableAddress,
RunnerInTemporarySegment(isize),
FailedStringConversion,
ExpectedInteger(MaybeRelocatable),
MemoryGet(MaybeRelocatable),
FailedMemoryGet(MemoryError),
EcOpBuiltinScalarLimit(Felt),
DisorderedBuiltins,
IntegerBiggerThanPowerOfTwo(MaybeRelocatable, u32, Felt),
EcOpSameXCoordinate(String),
PointNotOnCurve((usize, usize)),
NoBuiltinForInstance(HashSet<String>, String),
InvalidLayoutName(String),
RunAlreadyFinished,
FinalizeNoEndRun,
BuiltinNotIncluded(String),
BuiltinSegmentNameCollision(&'static str),
FinalizeSegements(MemoryError),
FinalizeSegmentsNoProofMode,
FinalStack,
InvalidStopPointer(String),
NoProgramStart,
NoProgramEnd,
SliceToArrayError,
MissingBuiltin(String),
FailedAddingReturnValues,
NoExecPublicMemory,
CouldntParsePrime,
MaybeRelocVecToU64ArrayError,
FoundNonInt,
SafeDivFailUsize(usize, usize),
MemoryError(MemoryError),
}Variants§
NoExecBase
NoExecBaseForEntrypoint
NoProgBase
MissingMain
UninitializedBase
BaseNotFinished
WriteFail
NoPC
NoAP
NoFP
MemoryValidationError(MemoryError)
MemoryInitializationError(MemoryError)
NonRelocatableAddress
RunnerInTemporarySegment(isize)
FailedStringConversion
ExpectedInteger(MaybeRelocatable)
MemoryGet(MaybeRelocatable)
FailedMemoryGet(MemoryError)
EcOpBuiltinScalarLimit(Felt)
DisorderedBuiltins
IntegerBiggerThanPowerOfTwo(MaybeRelocatable, u32, Felt)
EcOpSameXCoordinate(String)
PointNotOnCurve((usize, usize))
NoBuiltinForInstance(HashSet<String>, String)
InvalidLayoutName(String)
RunAlreadyFinished
FinalizeNoEndRun
BuiltinNotIncluded(String)
BuiltinSegmentNameCollision(&'static str)
FinalizeSegements(MemoryError)
FinalizeSegmentsNoProofMode
FinalStack
InvalidStopPointer(String)
NoProgramStart
NoProgramEnd
SliceToArrayError
MissingBuiltin(String)
FailedAddingReturnValues
NoExecPublicMemory
CouldntParsePrime
MaybeRelocVecToU64ArrayError
FoundNonInt
SafeDivFailUsize(usize, usize)
MemoryError(MemoryError)
Trait Implementations§
source§impl Debug for RunnerError
impl Debug for RunnerError
source§impl Display for RunnerError
impl Display for RunnerError
source§impl Error for RunnerError
impl Error for RunnerError
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<MemoryError> for RunnerError
impl From<MemoryError> for RunnerError
source§fn from(source: MemoryError) -> Self
fn from(source: MemoryError) -> Self
Converts to this type from the input type.
source§impl From<RunnerError> for CairoRunError
impl From<RunnerError> for CairoRunError
source§fn from(source: RunnerError) -> Self
fn from(source: RunnerError) -> Self
Converts to this type from the input type.
source§impl From<RunnerError> for VirtualMachineError
impl From<RunnerError> for VirtualMachineError
source§fn from(source: RunnerError) -> Self
fn from(source: RunnerError) -> Self
Converts to this type from the input type.
source§impl PartialEq<RunnerError> for RunnerError
impl PartialEq<RunnerError> for RunnerError
source§fn eq(&self, other: &RunnerError) -> bool
fn eq(&self, other: &RunnerError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RunnerError
impl StructuralEq for RunnerError
impl StructuralPartialEq for RunnerError
Auto Trait Implementations§
impl RefUnwindSafe for RunnerError
impl Send for RunnerError
impl Sync for RunnerError
impl Unpin for RunnerError
impl UnwindSafe for RunnerError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.