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

Function causeFail

packages/effect/src/Micro.ts:315–318  ·  view source on GitHub ↗
(
  error: E,
  traces: ReadonlyArray<string> = []
)

Source from the content-addressed store, hash-verified

313 * @category MicroCause
314 */
315export const causeFail = <E>(
316 error: E,
317 traces: ReadonlyArray<string> = []
318): MicroCause<E> => new Fail(error, traces)
319
320class Die extends MicroCauseImpl<"Die", never> implements MicroCause.Die {
321 constructor(

Callers 3

Micro.tsFile · 0.85
failFunction · 0.85
exitFailFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…