Skip to content
Permalink
Browse files

src: use default parameters for `UVException()`

PR-URL: #23176
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information...
addaleax authored and jasnell committed Sep 30, 2018
1 parent 323f543 commit 8f84613c93000c1f42b2acdfb90199956bab5e55
Showing with 2 additions and 16 deletions.
  1. +0 −9 src/exceptions.cc
  2. +2 −7 src/node.h
@@ -84,15 +84,6 @@ static Local<String> StringFromPath(Isolate* isolate, const char* path) {
}


Local<Value> UVException(Isolate* isolate,
int errorno,
const char* syscall,
const char* msg,
const char* path) {
return UVException(isolate, errorno, syscall, msg, path, nullptr);
}


Local<Value> UVException(Isolate* isolate,
int errorno,
const char* syscall,
@@ -118,13 +118,8 @@ NODE_EXTERN v8::Local<v8::Value> UVException(v8::Isolate* isolate,
int errorno,
const char* syscall = nullptr,
const char* message = nullptr,
const char* path = nullptr);
NODE_EXTERN v8::Local<v8::Value> 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<v8::Value> ErrnoException(

0 comments on commit 8f84613

Please sign in to comment.
You can’t perform that action at this time.