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

Function getParseIssueTitle

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

Source from the content-addressed store, hash-verified

1900 )
1901
1902const getParseIssueTitle = (
1903 issue: Forbidden | Transformation | Refinement | Composite
1904): string => getParseIssueTitleAnnotation(issue) ?? String(issue.ast)
1905
1906const formatForbiddenMessage = (issue: Forbidden): string => issue.message ?? "is forbidden"
1907

Callers 1

formatTreeFunction · 0.85

Calls 2

StringInterface · 0.85

Tested by

no test coverage detected