MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / error

Method error

src/compute-engine/index.ts:1778–1780  ·  view source on GitHub ↗

* * Shortcut for `this.expr(["Error",...])`. * * The result is canonical.

(message: string | string[], where?: string)

Source from the content-addressed store, hash-verified

1776 *
1777 * @param options.tolerance If the absolute value of the difference of two
1778 * numbers is less than `tolerance`, they are considered equal. Used by
1779 * `chop()` as well. The default is `1e-10`, whatever the precision.
1780 * `'auto'` makes the tolerance follow the precision: `10^(-precision + 2)`,
1781 * recomputed when the precision changes.
1782 *
1783 * @param options.libraries Optional standard/custom library list.

Callers

nothing calls this directly

Calls 1

createErrorExpressionFunction · 0.90

Tested by

no test coverage detected