cairo_vm/vm/errors/
exec_scope_errors.rs

1
2
3
4
5
6
7
8
9
use thiserror_no_std::Error;

#[derive(Eq, Hash, PartialEq, Debug, Error)]
pub enum ExecScopeError {
    #[error("Cannot exit main scope.")]
    ExitMainScopeError,
    #[error("Every enter_scope() requires a corresponding exit_scope().")]
    NoScopeError,
}