MCPcopy Create free account
hub / github.com/R-js/libRmath.js / constructor

Method constructor

src/lib/errors/VariableArgumentError.ts:4–6  ·  view source on GitHub ↗
(readonly template: string, ...args: unknown[])

Source from the content-addressed store, hash-verified

2
3export default class VariableArgumentError extends Error {
4 constructor(readonly template: string, ...args: unknown[]) {
5 super(format(template, ...args));
6 }
7}
8
9function format(fmt: string, ...args: unknown[]) {

Callers

nothing calls this directly

Calls 1

formatFunction · 0.85

Tested by

no test coverage detected