MCPcopy
hub / github.com/Effect-TS/effect / makeStandardFailureResult

Function makeStandardFailureResult

packages/effect/src/Schema.ts:154–156  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

152 exit_.isSuccess(exit) ? exit.value : makeStandardFailureResult(cause_.pretty(exit.cause))
153
154const makeStandardFailureResult = (message: string): StandardSchemaV1.FailureResult => ({
155 issues: [{ message }]
156})
157
158const makeStandardFailureFromParseIssue = (
159 issue: ParseResult.ParseIssue

Callers 1

makeStandardResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…