MCPcopy Index your code
hub / github.com/codecombat/codecombat / error

Method error

app/views/core/AuthModal.js:229–233  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

227 })
228 },
229 error (e) {
230 this.onGPlusLoginError()
231 if ((e != null ? e.error : undefined) && (e != null ? e.details : undefined)) { if (!e.message) { e.message = `Google login failed: ${e.error} - ${e.details}` } }
232 return noty({ text: (e != null ? e.message : undefined) || (e != null ? e.details : undefined) || __guardMethod__(e, 'toString', o => o.toString()) || 'Unknown Google login error', layout: 'topCenter', type: 'error', timeout: 5000, killer: false, dismissQueue: true })
233 },
234 })
235 }
236

Callers 15

loadJobsMethod · 0.45
constructorMethod · 0.45
onSubscriptionErrorMethod · 0.45
setupHashHandlersMethod · 0.45
onClickCreateClanMethod · 0.45
onJoinClanMethod · 0.45
onLeaveClanMethod · 0.45
onDeleteClanMethod · 0.45
onJoinClanMethod · 0.45

Calls 2

onGPlusLoginErrorMethod · 0.95
__guardMethod__Function · 0.70

Tested by

no test coverage detected