Function
formatTransformationKind
(kind: Transformation["kind"])
Source from the content-addressed store, hash-verified
| 1787 | } |
| 1788 | |
| 1789 | const 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 | |
| 1800 | const formatRefinementKind = (kind: Refinement["kind"]): string => { |
| 1801 | switch (kind) { |
Tested by
no test coverage detected