MCPcopy Index your code
hub / github.com/vuejs/composition-api / onError

Function onError

test/v3/runtime-core/apiAsyncComponent.spec.ts:489–495  ·  view source on GitHub ↗
(error, retry, fail)

Source from the content-addressed store, hash-verified

487 })
488 },
489 onError(error, retry, fail) {
490 if (error.message.match(/foo/)) {
491 retry()
492 } else {
493 fail()
494 }
495 },
496 })
497
498 const app = createApp({

Callers

nothing calls this directly

Calls 1

retryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…