summaryrefslogtreecommitdiff
path: root/core/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/error.rs')
-rw-r--r--core/error.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/error.rs b/core/error.rs
index 587581e82..8e6c43482 100644
--- a/core/error.rs
+++ b/core/error.rs
@@ -172,10 +172,6 @@ pub(crate) struct NativeJsError {
}
impl JsError {
- pub(crate) fn create(js_error: Self) -> Error {
- js_error.into()
- }
-
pub fn from_v8_exception(
scope: &mut v8::HandleScope,
exception: v8::Local<v8::Value>,