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

Function badArgument

packages/effect/src/PlatformError.ts:253–258  ·  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

251 * @since 4.0.0
252 */
253export const badArgument = (options: {
254 readonly module: string
255 readonly method: string
256 readonly description?: string | undefined
257 readonly cause?: unknown
258}): PlatformError => new PlatformError(new BadArgument(options))

Callers 4

displayFunction · 0.90
makeFunction · 0.90
fileResponseSizeFunction · 0.90
fileResponseNumberFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected