diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/js_errors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js_errors.rs b/core/js_errors.rs index e8fb0701c..ee3272baf 100644 --- a/core/js_errors.rs +++ b/core/js_errors.rs @@ -13,7 +13,7 @@ use serde_json; use std::fmt; use std::str; -#[derive(Debug, PartialEq)] +#[derive(Debug, PartialEq, Clone)] pub struct StackFrame { pub line: i64, // zero indexed pub column: i64, // zero indexed @@ -24,7 +24,7 @@ pub struct StackFrame { pub is_wasm: bool, } -#[derive(Debug, PartialEq)] +#[derive(Debug, PartialEq, Clone)] pub struct JSError { pub message: String, |