throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("The V8 runtime cannot initialize the script engine because a script exception is pending")), false/*executionStarted*/);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("The V8 runtime cannot perform the requested operation because a script exception is pending")), false/*executionStarted*/);
auto hModule = GetCachedModule(documentInfo.GetUniqueId(), codeDigest);
if (hModule.IsEmpty())
{
hModule = VERIFY_MAYBE(CompileModule(&source));
if (hModule.IsEmpty())
{
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("Module compilation failed; no additional information was provided by the V8 runtime")), false/*executionStarted*/);
}
CacheModule(documentInfo, codeDigest, hModule);
}
if (hModule->GetStatus() == v8::Module::kUninstantiated)
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("Script compilation failed; no additional information was provided by the V8 runtime")), false/*executionStarted*/);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("The V8 runtime cannot perform the requested operation because a script exception is pending")), EXECUTION_STARTED);
auto hModule = GetCachedModule(documentInfo.GetUniqueId(), codeDigest);
if (hModule.IsEmpty())
{
hModule = VERIFY_MAYBE(CompileModule(&source));
if (hModule.IsEmpty())
{
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("Module compilation failed; no additional information was provided by the V8 runtime")), false/*executionStarted*/);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("Script compilation failed; no additional information was provided by the V8 runtime")), false/*executionStarted*/);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("The V8 runtime cannot perform the requested operation because a script exception is pending")), EXECUTION_STARTED);
auto hModule = GetCachedModule(documentInfo.GetUniqueId(), codeDigest);
if (hModule.IsEmpty())
{
hModule = VERIFY_MAYBE(CompileModule(&source));
if (hModule.IsEmpty())
{
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("Module compilation failed; no additional information was provided by the V8 runtime")), false/*executionStarted*/);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("Script compilation failed; no additional information was provided by the V8 runtime")), false/*executionStarted*/);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("The V8 runtime cannot perform the requested operation because a script exception is pending")), EXECUTION_STARTED);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("Module compilation failed; no additional information was provided by the V8 runtime")), false/*executionStarted*/);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("Script compilation failed; no additional information was provided by the V8 runtime")), false/*executionStarted*/);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("The V8 runtime cannot perform the requested operation because a script exception is pending")), EXECUTION_STARTED);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("Module compilation failed; no additional information was provided by the V8 runtime")), false/*executionStarted*/);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("The V8 runtime cannot perform the requested operation because a script exception is pending")), EXECUTION_STARTED);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("The V8 runtime cannot perform the requested operation because a script exception is pending")), EXECUTION_STARTED);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("The V8 runtime cannot perform the requested operation because a script exception is pending")), EXECUTION_STARTED);
throwV8Exception(V8Exception::Type::General, m_Name, StdString(SL("The V8 runtime cannot perform the requested operation because a script exception is pending")), false/*executionStarted*/);