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

Function error

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

Source from the content-addressed store, hash-verified

399 * @since 2.0.0
400 */
401export const error = (...args: ReadonlyArray<any>): Effect.Effect<void> =>
402 consoleWith((console) =>
403 effect.sync(() => {
404 console.error(...args)
405 })
406 )
407
408/**
409 * Creates a scoped console group, optionally collapsed and labeled, and closes it automatically when the Effect scope is finalized.

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
errorMethod · 0.80
syncMethod · 0.45

Tested by

no test coverage detected