Struct cairo_vm::vm::errors::vm_exception::VmException
source · pub struct VmException { /* private fields */ }Implementations§
source§impl VmException
impl VmException
pub fn from_vm_error(
runner: &CairoRunner,
vm: &VirtualMachine,
error: VirtualMachineError
) -> Self
Trait Implementations§
source§impl Debug for VmException
impl Debug for VmException
source§impl Display for VmException
impl Display for VmException
source§impl Error for VmException
impl Error for VmException
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<VmException> for CairoRunError
impl From<VmException> for CairoRunError
source§fn from(source: VmException) -> Self
fn from(source: VmException) -> Self
Converts to this type from the input type.
source§impl PartialEq<VmException> for VmException
impl PartialEq<VmException> for VmException
source§fn eq(&self, other: &VmException) -> bool
fn eq(&self, other: &VmException) -> bool
This method tests for
self and other values to be equal, and is used
by ==.