diff --git a/src/node_errors.h b/src/node_errors.h index 48fcdf84867f5f..3c57f4b8b02fee 100644 --- a/src/node_errors.h +++ b/src/node_errors.h @@ -12,14 +12,10 @@ namespace node { -using v8::Local; -using v8::Message; -using v8::Value; - enum ErrorHandlingMode { CONTEXTIFY_ERROR, FATAL_ERROR, MODULE_ERROR }; void AppendExceptionLine(Environment* env, - Local er, - Local message, + v8::Local er, + v8::Local message, enum ErrorHandlingMode mode); [[noreturn]] void FatalError(const char* location, const char* message); @@ -195,8 +191,8 @@ class TryCatchScope : public v8::TryCatch { void TriggerUncaughtException(v8::Isolate* isolate, const v8::TryCatch& try_catch); void TriggerUncaughtException(v8::Isolate* isolate, - Local error, - Local message, + v8::Local error, + v8::Local message, bool from_promise = false); const char* errno_string(int errorno);