mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Implement stack unwinding
This commit is contained in:
@@ -36,4 +36,8 @@ impl StackFrameTrait for FirstStackFrame {
|
||||
fn get_call_result(&mut self) -> CallResult {
|
||||
return self.call_result.clone();
|
||||
}
|
||||
|
||||
fn catch_exception(&mut self, _exception: Val) -> bool {
|
||||
panic!("Not appropriate for FirstStackFrame");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user