diff --git a/src/node.h b/src/node.h index 75570a15afd153..bb2a9d2e0533ac 100644 --- a/src/node.h +++ b/src/node.h @@ -139,7 +139,8 @@ NODE_DEPRECATED("Use ErrnoException(isolate, ...)", path); }) -inline v8::Local UVException(int errorno, +NODE_DEPRECATED("Use UVException(isolate, ...)", + inline v8::Local UVException(int errorno, const char* syscall = nullptr, const char* message = nullptr, const char* path = nullptr) { @@ -148,7 +149,7 @@ inline v8::Local UVException(int errorno, syscall, message, path); -} +}) /* * These methods need to be called in a HandleScope.