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

Function snapshotExtractionError

packages/tools/api-diff/src/Snapshot.ts:716–720  ·  view source on GitHub ↗
(diagnostics: ReadonlyArray<SnapshotDiagnostic>)

Source from the content-addressed store, hash-verified

714 Predicate.isTagged(u, "SnapshotExtractionError")
715
716const snapshotExtractionError = (diagnostics: ReadonlyArray<SnapshotDiagnostic>): SnapshotExtractionError =>
717 new SnapshotExtractionError({
718 message: diagnostics.map((diagnostic) => `${diagnostic.code}: ${diagnostic.message}`).join("\n"),
719 diagnostics
720 })
721
722const extractSnapshot = (
723 options: ExtractSnapshotOptions,

Callers 1

extractSnapshotFunction · 0.85

Calls 2

joinMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected