aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/asset/chain
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-05-18 17:25:29 +0800
committer魏曹先生 <1992414357@qq.com>2026-05-18 17:26:37 +0800
commitda5a750965dbec5a2c003faa8fb9f1dd110ccce8 (patch)
treeb793769ec40494c1ab056c65748c3393b5a849ed /mingling_core/src/asset/chain
parentab7c5785fb290541ad4361c0d46241817c3ff5f9 (diff)
Implement REPL execution with hooks and argument splitting
Diffstat (limited to 'mingling_core/src/asset/chain')
-rw-r--r--mingling_core/src/asset/chain/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mingling_core/src/asset/chain/error.rs b/mingling_core/src/asset/chain/error.rs
index 4269c62..ce69bc5 100644
--- a/mingling_core/src/asset/chain/error.rs
+++ b/mingling_core/src/asset/chain/error.rs
@@ -47,6 +47,9 @@ impl From<ProgramInternalExecuteError> for ChainProcessError {
ProgramInternalExecuteError::IO(e) => {
ChainProcessError::Other(format!("IOError: {:?}", e))
}
+ ProgramInternalExecuteError::REPLPanic(program_panic) => {
+ ChainProcessError::Other(format!("REPLPanic: {}", program_panic))
+ }
}
}
}