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

Class DefectError

packages/effect/test/Effect.test.ts:2611–2615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2609 })
2610 // Fresh objects, so no earlier test has cached a random reference hash.
2611 class DefectError extends Error {
2612 override toString() {
2613 return "DefectError"
2614 }
2615 }
2616 try {
2617 const exit = await Effect.runPromise(Effect.gen(function*() {
2618 const latch = yield* Latch.make()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected