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

Function causeDie

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

Source from the content-addressed store, hash-verified

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

Callers 2

Micro.tsFile · 0.85
exitDieFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected