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

Method message

packages/effect/src/unstable/cli/CliError.ts:339–342  ·  view source on GitHub ↗

* Formats the unexpected positional arguments for display. * * @since 4.0.0

()

Source from the content-addressed store, hash-verified

337 * @since 4.0.0
338 */
339 override get message() {
340 const label = this.arguments.length === 1 ? "argument" : "arguments"
341 return `Unexpected positional ${label}: ${this.arguments.map((value) => JSON.stringify(value)).join(", ")}`
342 }
343}
344
345/**

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected