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

Function throw

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

Source from the content-addressed store, hash-verified

12076 return close(Exit.void)
12077 },
12078 async throw(error) {
12079 await closeAndReportError(Exit.die(error))
12080 throw error
12081 }
12082 }
12083 }
12084 })

Callers

nothing calls this directly

Calls 1

closeAndReportErrorFunction · 0.85

Tested by

no test coverage detected