MCPcopy
hub / github.com/Effect-TS/effect / onErr

Function onErr

packages/platform-node-shared/src/internal/stream.ts:268–271  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

266 latch.unsafeOpen()
267 }
268 function onErr(err: unknown) {
269 exit.current = Exit.fail(onError(err))
270 latch.unsafeOpen()
271 }
272 function onEnd() {
273 exit.current = Exit.void
274 latch.unsafeOpen()

Callers

nothing calls this directly

Calls 3

unsafeOpenMethod · 0.80
failMethod · 0.65
onErrorFunction · 0.50

Tested by

no test coverage detected