Lines Matching defs:exception
716 // If the exception was a termination exception, rejecting the promise
719 // exception field should be set to `null`.
722 CHECK_EQ(module->exception(), *isolate->factory()->null_value());
725 CHECK_EQ(module->exception(), isolate->pending_exception());
730 JSPromise::Reject(capability, handle(module->exception(), isolate));
757 DCHECK(!module->exception().IsTheHole(isolate));
816 // raise the exception.
825 Handle<Object> exception(isolate->pending_exception(), isolate);
827 AsyncModuleExecutionRejected(isolate, m, exception);
856 Handle<Object> exception) {
860 DCHECK(!module->exception().IsTheHole(isolate));
866 DCHECK(isolate->is_catchable_by_javascript(*exception));
878 Module::RecordError(isolate, module, exception);
896 AsyncModuleExecutionRejected(isolate, m, exception);
907 JSPromise::Reject(capability, exception);
967 // exception.
1035 isolate->Throw(module->exception());
1114 // (If there was an exception on the original required module
1117 // the exception, we throw on isolate and return a
1120 isolate->Throw(required_module->exception());
1163 // raise the exception.