/third_party/node/src/ |
H A D | js_stream.cc | 47 TryCatchScope try_catch(env()); in IsClosing() 50 if (try_catch.HasCaught() && !try_catch.HasTerminated()) in IsClosing() 51 errors::TriggerUncaughtException(env()->isolate(), try_catch); in IsClosing() 61 TryCatchScope try_catch(env()); in ReadStart() 66 if (try_catch.HasCaught() && !try_catch.HasTerminated()) in ReadStart() 67 errors::TriggerUncaughtException(env()->isolate(), try_catch); in ReadStart() 76 TryCatchScope try_catch(env()); in ReadStop() 81 if (try_catch in ReadStop() [all...] |
H A D | js_udp_wrap.cc | 65 TryCatchScope try_catch(env()); in RecvStart() 70 if (try_catch.HasCaught() && !try_catch.HasTerminated()) in RecvStart() 71 errors::TriggerUncaughtException(env()->isolate(), try_catch); in RecvStart() 79 TryCatchScope try_catch(env()); in RecvStop() 84 if (try_catch.HasCaught() && !try_catch.HasTerminated()) in RecvStop() 85 errors::TriggerUncaughtException(env()->isolate(), try_catch); in RecvStop() 95 TryCatchScope try_catch(env()); in Send() 119 if (try_catch in Send() [all...] |
H A D | module_wrap.cc | 152 TryCatchScope try_catch(env); in New() 206 if (try_catch.HasCaught() && !try_catch.HasTerminated()) { in New() 207 CHECK(!try_catch.Message().IsEmpty()); in New() 208 CHECK(!try_catch.Exception().IsEmpty()); in New() 209 AppendExceptionLine(env, try_catch.Exception(), try_catch.Message(), in New() 211 try_catch.ReThrow(); in New() 219 try_catch.ReThrow(); in New() 342 TryCatchScope try_catch(en in Instantiate() [all...] |
H A D | node_errors.cc | 56 v8::TryCatch try_catch(isolate); in GetSourceMapErrorSource() 75 DCHECK(try_catch.HasCaught()); in GetSourceMapErrorSource() 265 const v8::TryCatch& try_catch) { in FormatCaughtException() 266 CHECK(try_catch.HasCaught()); in FormatCaughtException() 268 isolate, context, try_catch.Exception(), try_catch.Message()); in FormatCaughtException() 273 const v8::TryCatch& try_catch) { in PrintCaughtException() 274 PrintToStderrAndFlush(FormatCaughtException(isolate, context, try_catch)); in PrintCaughtException() 564 errors::TryCatchScope try_catch(env); in ModifyCodeGenerationFromStrings() 572 DCHECK(try_catch in ModifyCodeGenerationFromStrings() 263 FormatCaughtException(Isolate* isolate, Local<Context> context, const v8::TryCatch& try_catch) FormatCaughtException() argument 271 PrintCaughtException(Isolate* isolate, Local<Context> context, const v8::TryCatch& try_catch) PrintCaughtException() argument 1050 DecorateErrorStack(Environment* env, const errors::TryCatchScope& try_catch) DecorateErrorStack() argument 1181 TriggerUncaughtException(Isolate* isolate, const v8::TryCatch& try_catch) TriggerUncaughtException() argument [all...] |
H A D | node_task_queue.cc | 118 TryCatchScope try_catch(env); in PromiseRejectCallback() 156 if (try_catch.HasCaught() && !try_catch.HasTerminated()) { in PromiseRejectCallback() 158 PrintCaughtException(isolate, env->context(), try_catch); in PromiseRejectCallback()
|
H A D | node_contextify.cc | 388 TryCatchScope try_catch(env); in MakeContext() 392 if (try_catch.HasCaught()) { in MakeContext() 393 if (!try_catch.HasTerminated()) in MakeContext() 394 try_catch.ReThrow(); in MakeContext() 860 TryCatchScope try_catch(env); in New() 869 errors::DecorateErrorStack(env, try_catch); in New() 871 if (!try_catch.HasTerminated()) in New() 872 try_catch.ReThrow(); in New() 1055 TryCatchScope try_catch(env); in EvalMachine() 1107 if (try_catch in EvalMachine() [all...] |
H A D | udp_wrap.cc | 741 TryCatchScope try_catch(env); in OnRecv() 743 DCHECK(try_catch.HasCaught() && !try_catch.HasTerminated()); in OnRecv() 744 argv[2] = try_catch.Exception(); in OnRecv() 760 TryCatchScope try_catch(env); in OnRecv() 762 DCHECK(try_catch.HasCaught() && !try_catch.HasTerminated()); in OnRecv() 763 argv[2] = try_catch.Exception(); in OnRecv()
|
H A D | node_errors.h | 265 const v8::TryCatch& try_catch); 276 const errors::TryCatchScope& try_catch);
|
H A D | env.cc | 535 TryCatchScope try_catch(env_); in UpdateTraceCategoryState() 536 try_catch.SetVerbose(true); in UpdateTraceCategoryState() 809 TryCatch try_catch(isolate()); in ~Environment() 1096 TryCatchScope try_catch(this); in RunAndClearNativeImmediates() 1106 head.reset(); // Destroy now so that this is also observed by try_catch. in RunAndClearNativeImmediates() 1108 if (UNLIKELY(try_catch.HasCaught())) { in RunAndClearNativeImmediates() 1109 if (!try_catch.HasTerminated() && can_call_into_js()) in RunAndClearNativeImmediates() 1110 errors::TriggerUncaughtException(isolate(), try_catch); in RunAndClearNativeImmediates() 1207 TryCatchScope try_catch(env); in RunTimers() 1208 try_catch in RunTimers() [all...] |
H A D | inspector_agent.cc | 898 v8::TryCatch try_catch(isolate); in ToggleAsyncHook() 900 if (try_catch.HasCaught() && !try_catch.HasTerminated()) { in ToggleAsyncHook() 901 PrintCaughtException(isolate, context, try_catch); in ToggleAsyncHook()
|
H A D | js_native_api_v8.h | 280 (env), try_catch.HasCaught() ? JSVM_PENDING_EXCEPTION : (status)); \ 313 // JSVM_PREAMBLE is not wrapped in do..while: try_catch must have function scope 324 v8impl::TryCatch try_catch((env)) 364 (!try_catch.HasCaught() \
|
H A D | node_internals.h | 85 const v8::TryCatch& try_catch); 88 const v8::TryCatch& try_catch);
|
H A D | stream_wrap.cc | 211 TryCatchScope try_catch(wrap->env()); in ReadStart() 212 try_catch.SetVerbose(true); in ReadStart()
|
H A D | async_wrap.cc | 69 TryCatchScope try_catch(env, TryCatchScope::CatchMode::kFatal); in DestroyAsyncIdsCallback() 98 TryCatchScope try_catch(env, TryCatchScope::CatchMode::kFatal); in Emit() 652 TryCatchScope try_catch(env, TryCatchScope::CatchMode::kFatal); in EmitAsyncInit()
|
H A D | node_messaging.cc | 799 TryCatchScope try_catch(env()); in OnMessage() 801 if (try_catch.HasCaught() && !try_catch.HasTerminated()) in OnMessage() 802 message_error = try_catch.Exception(); in OnMessage()
|
/third_party/node/test/addons/async-hello-world/ |
H A D | binding.cc | 32 v8::TryCatch try_catch(isolate); in AfterAsync() 55 if (try_catch.HasCaught()) { in AfterAsync() 56 node::FatalException(isolate, try_catch); in AfterAsync()
|
/third_party/node/deps/v8/src/d8/ |
H A D | d8-console.cc | 82 v8::TryCatch try_catch(isolate_); in Time() 107 v8::TryCatch try_catch(isolate_); in TimeEnd() 129 v8::TryCatch try_catch(isolate_); in TimeStamp()
|
H A D | async-hooks-wrapper.cc | 181 TryCatch try_catch(isolate); in ShellPromiseHook() 182 try_catch.SetVerbose(true); in ShellPromiseHook() 230 if (try_catch.HasCaught()) break; in ShellPromiseHook() 232 if (try_catch.HasCaught()) Shell::ReportException(isolate, &try_catch); in ShellPromiseHook()
|
H A D | d8.cc | 721 TryCatch try_catch(isolate); in ExecuteString() 722 try_catch.SetVerbose(report_exceptions == kReportExceptions); in ExecuteString() 799 CHECK(try_catch.HasCaught()); in ExecuteString() 800 ReportException(isolate, &try_catch); in ExecuteString() 811 CHECK(try_catch.HasCaught()); in ExecuteString() 822 DCHECK(try_catch.HasCaught()); in ExecuteString() 826 if (try_catch.HasCaught()) success = false; in ExecuteString() 1136 TryCatch try_catch(isolate); in JSONModuleEvaluationSteps() 1144 CHECK(!try_catch.HasCaught()); in JSONModuleEvaluationSteps() 1299 TryCatch try_catch(isolat in DoHostImportModuleDynamically() 2807 ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) ReportException() argument [all...] |
/third_party/node/src/api/ |
H A D | exceptions.cc | 246 void FatalException(Isolate* isolate, const v8::TryCatch& try_catch) { in FatalException() argument 247 errors::TriggerUncaughtException(isolate, try_catch); in FatalException()
|
H A D | environment.cc | 92 TryCatchScope try_catch(env); in PrepareStackTraceCallback() 95 if (try_catch.HasCaught() && !try_catch.HasTerminated()) { in PrepareStackTraceCallback() 96 try_catch.ReThrow(); in PrepareStackTraceCallback()
|
/third_party/node/src/crypto/ |
H A D | crypto_util.cc | 142 TryCatch try_catch{isolate}; in InitCryptoOnce() 144 if (try_catch.HasCaught() && !try_catch.HasTerminated()) { in InitCryptoOnce() 145 try_catch.ReThrow(); in InitCryptoOnce()
|
H A D | crypto_util.h | 375 node::errors::TryCatchScope try_catch(env); 378 CHECK(try_catch.HasCaught()); 379 exception = try_catch.Exception();
|
/third_party/node/deps/v8/src/debug/ |
H A D | liveedit.cc | 758 v8::TryCatch try_catch(reinterpret_cast<v8::Isolate*>(isolate)); in ParseScript() 776 DCHECK(try_catch.HasCaught()); in ParseScript() 777 result->message = try_catch.Message()->Get(); in ParseScript() 778 auto self = Utils::OpenHandle(*try_catch.Message()); in ParseScript()
|
/third_party/node/deps/v8/src/snapshot/ |
H A D | snapshot.cc | 712 v8::TryCatch try_catch(isolate); in RunExtraCode() 725 CHECK(!try_catch.HasCaught()); in RunExtraCode()
|