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

Function throw

packages/effect/src/Stream.ts:11165–11168  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

11163 return close(Exit.void)
11164 },
11165 async throw(error) {
11166 await closeAndReportError(Exit.die(error))
11167 throw error
11168 }
11169 }
11170 }
11171 })

Callers

nothing calls this directly

Calls 1

closeAndReportErrorFunction · 0.85

Tested by

no test coverage detected