MCPcopy Create free account
hub / github.com/effect-app/libs / error

Function error

repos/effect/packages/effect/src/Console.ts:311–316  ·  view source on GitHub ↗
(...args: ReadonlyArray<any>)

Source from the content-addressed store, hash-verified

309 * import { Console, Effect } from "effect"
310 *
311 * const inspected: Array<unknown> = []
312 * const testConsole: Console.Console = Object.assign(Object.create(console), {
313 * dir: (item: unknown, options?: unknown) => inspected.push([item, options])
314 * })
315 * const program = Effect.gen(function*() {
316 * const obj = { name: "John", age: 30, nested: { city: "New York" } }
317 * yield* Console.dir(obj)
318 * yield* Console.dir(obj, { depth: 2 })
319 * })

Callers 6

causeReasonToEquivalenceFunction · 0.70
causeReasonToFormatterFunction · 0.70
throwsFunction · 0.50
throwsAsyncFunction · 0.50
throwsFunction · 0.50
throwsAsyncFunction · 0.50

Calls 3

consoleWithFunction · 0.85
syncMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…