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

Function isSnapshotExtractionError

packages/tools/api-diff/src/Snapshot.ts:713–714  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

711) {}
712
713export const isSnapshotExtractionError = (u: unknown): u is SnapshotExtractionError =>
714 Predicate.isTagged(u, "SnapshotExtractionError")
715
716const snapshotExtractionError = (diagnostics: ReadonlyArray<SnapshotDiagnostic>): SnapshotExtractionError =>
717 new SnapshotExtractionError({

Callers 2

Error.test.tsFile · 0.90
SnapshotterClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected