summaryrefslogtreecommitdiff
path: root/core/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/error.rs')
-rw-r--r--core/error.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/error.rs b/core/error.rs
index e8c0305d4..332bc5c51 100644
--- a/core/error.rs
+++ b/core/error.rs
@@ -158,9 +158,9 @@ fn get_property<'a>(
}
#[derive(serde::Deserialize)]
-struct NativeJsError {
- name: Option<String>,
- message: Option<String>,
+pub(crate) struct NativeJsError {
+ pub name: Option<String>,
+ pub message: Option<String>,
// Warning! .stack is special so handled by itself
// stack: Option<String>,
}