GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: avoid using elevated v8 namespaces in node_errors.h · nodejs/node@9600332

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_errors.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_errors.h‎

Copy file name to clipboardExpand all lines: src/node_errors.h
+4-8Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,10 @@
1212

1313
namespace node {
1414

15-
using v8::Local;
16-
using v8::Message;
17-
using v8::Value;
18-
1915
enum ErrorHandlingMode { CONTEXTIFY_ERROR, FATAL_ERROR, MODULE_ERROR };
2016
void AppendExceptionLine(Environment* env,
21-
Local<Value> er,
22-
Local<Message> message,
17+
v8::Local<v8::Value> er,
18+
v8::Local<v8::Message> message,
2319
enum ErrorHandlingMode mode);
2420

2521
[[noreturn]] void FatalError(const char* location, const char* message);
@@ -195,8 +191,8 @@ class TryCatchScope : public v8::TryCatch {
195191
void TriggerUncaughtException(v8::Isolate* isolate,
196192
const v8::TryCatch& try_catch);
197193
void TriggerUncaughtException(v8::Isolate* isolate,
198-
Local<Value> error,
199-
Local<Message> message,
194+
v8::Local<v8::Value> error,
195+
v8::Local<v8::Message> message,
200196
bool from_promise = false);
201197

202198
const char* errno_string(int errorno);

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.