mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
src: use default parameters for UVException()
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
69a422bba7
commit
51f0060765
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user