diff --git a/src/exceptions.cc b/src/exceptions.cc index d1c0794e82fde4..c9e308240fe771 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -84,15 +84,6 @@ static Local StringFromPath(Isolate* isolate, const char* path) { } -Local UVException(Isolate* isolate, - int errorno, - const char* syscall, - const char* msg, - const char* path) { - return UVException(isolate, errorno, syscall, msg, path, nullptr); -} - - Local UVException(Isolate* isolate, int errorno, const char* syscall, diff --git a/src/node.h b/src/node.h index eea81f443eb1a7..e9757a81f22895 100644 --- a/src/node.h +++ b/src/node.h @@ -118,13 +118,8 @@ NODE_EXTERN v8::Local UVException(v8::Isolate* isolate, int errorno, const char* syscall = nullptr, const char* message = nullptr, - const char* path = nullptr); -NODE_EXTERN v8::Local UVException(v8::Isolate* isolate, - int errorno, - const char* syscall, - const char* message, - const char* path, - const char* dest); + const char* path = nullptr, + const char* dest = nullptr); NODE_DEPRECATED("Use ErrnoException(isolate, ...)", inline v8::Local ErrnoException(