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

Function badArgument

packages/effect/src/PlatformError.ts:216–221  ·  view source on GitHub ↗
(options: {
  readonly module: string
  readonly method: string
  readonly description?: string | undefined
  readonly cause?: unknown
})

Source from the content-addressed store, hash-verified

214 * @since 4.0.0
215 */
216export const badArgument = (options: {
217 readonly module: string
218 readonly method: string
219 readonly description?: string | undefined
220 readonly cause?: unknown
221}): PlatformError => new PlatformError(new BadArgument(options))

Callers 2

displayFunction · 0.90
makeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected