Skip to content

Commit

Permalink
Update node_errors.h
Browse files Browse the repository at this point in the history
  • Loading branch information
RedYetiDev authored Apr 21, 2024
1 parent a52db4a commit 9a510f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/node_errors.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void OOMErrorHandler(const char* location, const v8::OOMDetails& details);
V(ERR_SCRIPT_EXECUTION_TIMEOUT, Error) \
V(ERR_STRING_TOO_LONG, Error) \
V(ERR_TLS_INVALID_PROTOCOL_METHOD, TypeError) \
V(ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED, Error) \
V(ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED, Error) \
V(ERR_VM_MODULE_CACHED_DATA_REJECTED, Error) \
V(ERR_VM_MODULE_LINK_FAILURE, Error) \
V(ERR_WASI_NOT_STARTED, Error) \
Expand Down Expand Up @@ -195,7 +195,7 @@ ERRORS_WITH_CODE(V)
"--experimental-print-required-tla.") \
V(ERR_SCRIPT_EXECUTION_INTERRUPTED, \
"Script execution was interrupted by `SIGINT`") \
V(ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED, "Failed to set PSK identity hint") \
V(ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED, "Failed to set PSK identity hint") \
V(ERR_WASI_NOT_STARTED, "wasi.start() has not been called") \
V(ERR_WORKER_INIT_FAILED, "Worker initialization failure") \
V(ERR_PROTO_ACCESS, \
Expand All @@ -204,7 +204,7 @@ ERRORS_WITH_CODE(V)

#define V(code, message) \
inline v8::Local<v8::Value> code(v8::Isolate* isolate) { \
return code(isolate, message); \
return code(isolate, message); Can you please provide me with access to this document? \
} \
inline void THROW_ ## code(v8::Isolate* isolate) { \
isolate->ThrowException(code(isolate, message)); \
Expand Down

0 comments on commit 9a510f6

Please sign in to comment.