MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / isVerificationMailPollingError

Function isVerificationMailPollingError

background.js:3598–3604  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

3596}
3597
3598function isVerificationMailPollingError(error) {
3599 if (typeof loggingStatus !== 'undefined' && loggingStatus?.isVerificationMailPollingError) {
3600 return loggingStatus.isVerificationMailPollingError(error);
3601 }
3602 const message = getErrorMessage(error);
3603 return /未在 .*邮箱中找到新的匹配邮件|未在 Hotmail 收件箱中找到新的匹配验证码|邮箱轮询结束,但未获取到验证码|无法获取新的(?:注册|登录)验证码|页面未能重新就绪|页面通信异常|did not respond in \d+s/i.test(message);
3604}
3605
3606function getLoginAuthStateLabel(state) {
3607 if (typeof loggingStatus !== 'undefined' && loggingStatus?.getLoginAuthStateLabel) {

Callers

nothing calls this directly

Calls 1

getErrorMessageFunction · 0.70

Tested by

no test coverage detected