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

Function causeDie

packages/effect/src/Micro.ts:335–338  ·  view source on GitHub ↗
(
  defect: unknown,
  traces: ReadonlyArray<string> = []
)

Source from the content-addressed store, hash-verified

333 * @category MicroCause
334 */
335export const causeDie = (
336 defect: unknown,
337 traces: ReadonlyArray<string> = []
338): MicroCause<never> => new Die(defect, traces)
339
340class Interrupt extends MicroCauseImpl<"Interrupt", never> implements MicroCause.Interrupt {
341 constructor(traces: ReadonlyArray<string> = []) {

Callers 2

Micro.tsFile · 0.85
exitDieFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected