1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use super::memory_errors::MemoryError;
use super::vm_exception::VmException;
use crate::types::errors::program_errors::ProgramError;
use crate::vm::errors::{
runner_errors::RunnerError, trace_errors::TraceError, vm_errors::VirtualMachineError,
};
use thiserror::Error;
#[derive(Debug, Error)]
pub enum CairoRunError {
#[error(transparent)]
Program(#[from] ProgramError),
#[error(transparent)]
VirtualMachine(#[from] VirtualMachineError),
#[error(transparent)]
Trace(#[from] TraceError),
#[error(transparent)]
Runner(#[from] RunnerError),
#[error(transparent)]
MemoryError(#[from] MemoryError),
#[error(transparent)]
VmException(#[from] VmException),
}