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

Class

testdata/tests/effect-v3/globalErrorInEffectFailure.ts:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9export const shouldReport2 = Effect.fail(new globalThis.Error("global error"))
10
11export class BaseExtendsError extends Error {
12}
13
14// this is not fine because it extends the global Error type without changing it

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected