MCPcopy
hub / github.com/vuejs/core / onError

Function onError

packages/runtime-core/__tests__/apiAsyncComponent.spec.ts:624–630  ·  view source on GitHub ↗
(error, retry, fail)

Source from the content-addressed store, hash-verified

622 })
623 },
624 onError(error, retry, fail) {
625 if (error.message.match(/foo/)) {
626 retry()
627 } else {
628 fail()
629 }
630 },
631 })
632
633 const root = nodeOps.createElement('div')

Callers

nothing calls this directly

Calls 1

retryFunction · 0.85

Tested by

no test coverage detected