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

Function formatCause

packages/effect/src/ui/internal/codecRun.ts:55–59  ·  view source on GitHub ↗
(cause: Cause.Cause<SchemaIssue.Issue>)

Source from the content-addressed store, hash-verified

53
54/** @internal */
55export const formatCause = (cause: Cause.Cause<SchemaIssue.Issue>): string =>
56 Option.match(Cause.findErrorOption(cause), {
57 onNone: () => Cause.pretty(cause),
58 onSome: formatIssue
59 })
60
61/** @internal */
62export const warnUnencoded = (

Callers 4

openFunction · 0.90
ssrFunction · 0.90
encodePropsFunction · 0.90
warnUnencodedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected