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

Function onError

packages/runtime-core/src/apiAsyncComponent.ts:171–179  ·  view source on GitHub ↗
(err: Error)

Source from the content-addressed store, hash-verified

169 }
170
171 const onError = (err: Error) => {
172 pendingRequest = null
173 handleError(
174 err,
175 instance,
176 ErrorCodes.ASYNC_COMPONENT_LOADER,
177 !errorComponent /* do not throw in dev if user provided error component */,
178 )
179 }
180
181 // suspense-controlled or SSR.
182 if (

Callers 2

setupFunction · 0.70
callFunction · 0.50

Calls 1

handleErrorFunction · 0.90

Tested by 1

callFunction · 0.40