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

Function isSnapshotExtractionError

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

Source from the content-addressed store, hash-verified

727) {}
728
729export const isSnapshotExtractionError = (u: unknown): u is SnapshotExtractionError =>
730 Predicate.isTagged(u, "SnapshotExtractionError")
731
732const snapshotExtractionError = (diagnostics: ReadonlyArray<SnapshotDiagnostic>): SnapshotExtractionError =>
733 new SnapshotExtractionError({

Callers 2

Error.test.tsFile · 0.90
SnapshotterClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected