MCPcopy Index your code
hub / github.com/Effect-TS/effect / die

Method die

packages/effect/src/StreamEmit.ts:38–38  ·  view source on GitHub ↗

* Terminates with a cause that dies with the specified defect.

(defect: Err)

Source from the content-addressed store, hash-verified

36 * Terminates with a cause that dies with the specified defect.
37 */
38 die<Err>(defect: Err): Promise<B>
39
40 /**
41 * Terminates with a cause that dies with a `Throwable` with the specified

Callers 15

e2eSuiteFunction · 0.65
rpc-schemas.tsFile · 0.65
onExitFunction · 0.65
formDataMethod · 0.65
commitFunction · 0.65
e2eSuiteFunction · 0.65
rpc-schemas.tsFile · 0.65
NodeClusterHttp.tsFile · 0.65
onExitFunction · 0.65
makeFunction · 0.65
handleCauseFunction · 0.65

Calls

no outgoing calls

Tested by 1

makeDeferredEngineFunction · 0.52