MCPcopy
hub / github.com/statelyai/xstate / reportUnhandledError

Function reportUnhandledError

packages/core/src/reportUnhandledError.ts:9–13  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

7 * @param err Error to be thrown
8 */
9export function reportUnhandledError(err: unknown) {
10 setTimeout(() => {
11 throw err;
12 });
13}

Callers 5

constructorMethod · 0.90
updateMethod · 0.90
subscribeMethod · 0.90
_completeMethod · 0.90
_reportErrorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…