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

Method fail

packages/effect/src/encoding/JsonArray.ts:243–245  ·  view source on GitHub ↗
(kind: "Syntax" | "Limit" | "Pointer", message: string, offset: number, cause?: unknown)

Source from the content-addressed store, hash-verified

241 }
242
243 fail(kind: "Syntax" | "Limit" | "Pointer", message: string, offset: number, cause?: unknown): JsonArrayError {
244 return new JsonArrayError({ kind, message, offset, cause })
245 }
246
247 pointerPrefix(length: number, ...rest: Array<string>): string {
248 return JSON.stringify(

Callers 6

endMethod · 0.95
stepMethod · 0.95
closeMethod · 0.95
scanMethod · 0.95
checkSizeMethod · 0.95
failDepthMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected