summaryrefslogtreecommitdiff
path: root/src/env.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.cc')
-rw-r--r--src/env.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/env.cc b/src/env.cc
index 2e0fa251b3..b107a17aaf 100644
--- a/src/env.cc
+++ b/src/env.cc
@@ -827,25 +827,6 @@ void CollectExceptionInfo(Environment* env,
}
}
-void Environment::CollectExceptionInfo(Local<Value> object,
- int errorno,
- const char* syscall,
- const char* message,
- const char* path) {
- if (!object->IsObject() || errorno == 0)
- return;
-
- Local<Object> obj = object.As<Object>();
- const char* err_string = errors::errno_string(errorno);
-
- if (message == nullptr || message[0] == '\0') {
- message = strerror(errorno);
- }
-
- node::CollectExceptionInfo(this, obj, errorno, err_string,
- syscall, message, path, nullptr);
-}
-
void Environment::CollectUVExceptionInfo(Local<Value> object,
int errorno,
const char* syscall,