MCPcopy Index your code
hub / github.com/Effect-TS/effect / getParseIssueTitle

Function getParseIssueTitle

packages/effect/src/ParseResult.ts:1884–1886  ·  view source on GitHub ↗
(
  issue: Forbidden | Transformation | Refinement | Composite
)

Source from the content-addressed store, hash-verified

1882 )
1883
1884const getParseIssueTitle = (
1885 issue: Forbidden | Transformation | Refinement | Composite
1886): string => getParseIssueTitleAnnotation(issue) ?? String(issue.ast)
1887
1888const formatForbiddenMessage = (issue: Forbidden): string => issue.message ?? "is forbidden"
1889

Callers 1

formatTreeFunction · 0.85

Calls 2

StringInterface · 0.85

Tested by

no test coverage detected