MCPcopy Create free account
hub / github.com/effect-app/libs / onError

Function onError

repos/effect/packages/platform-node-shared/src/NodeStream.ts:349–352  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

347 latch.openUnsafe()
348 }
349 function onEnd() {
350 exit.current = Exit.fail(Cause.Done())
351 latch.openUnsafe()
352 }
353 readable.on("readable", onReadable)
354 readable.once("error", onError)
355 readable.once("end", onEnd)

Callers 2

toStringFunction · 0.70
toArrayBufferFunction · 0.70

Calls 3

onErrorMethod · 0.80
openUnsafeMethod · 0.65
failMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…