* Formats the unexpected positional arguments for display. * * @since 4.0.0
()
| 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 | /** |