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

Class Boom

packages/effect/test/Data.test.ts:274–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272
273 it("allows tagged errors without fields to be constructed without args", () => {
274 class Boom extends Data.TaggedError("Boom") {}
275 const e = new Boom()
276 assert.strictEqual(e._tag, "Boom")
277 assert.ok(e instanceof globalThis.Error)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected