MCPcopy Create free account
hub / github.com/Effect-TS/effect / onError

Function onError

packages/platform/node-shared/src/NodeChildProcessSpawner.ts:155–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153// listener that propagates errors while it is active.
154const handleInputErrors = (writable: Writable): void => {
155 const onError = () => {}
156 writable.on("error", onError)
157 writable.once("close", () => writable.off("error", onError))
158}

Callers 2

setupOutputFunction · 0.70
spawnFunction · 0.70

Calls 7

someMethod · 0.80
assignMethod · 0.80
toPlatformErrorFunction · 0.70
toErrorFunction · 0.70
failMethod · 0.65
resumeFunction · 0.50
mapMethod · 0.45

Tested by

no test coverage detected