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

Function formatTransformationKind

packages/effect/src/ParseResult.ts:1789–1798  ·  view source on GitHub ↗
(kind: Transformation["kind"])

Source from the content-addressed store, hash-verified

1787}
1788
1789const formatTransformationKind = (kind: Transformation["kind"]): string => {
1790 switch (kind) {
1791 case "Encoded":
1792 return "Encoded side transformation failure"
1793 case "Transformation":
1794 return "Transformation process failure"
1795 case "Type":
1796 return "Type side transformation failure"
1797 }
1798}
1799
1800const formatRefinementKind = (kind: Refinement["kind"]): string => {
1801 switch (kind) {

Callers 1

formatTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected