UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

32 lines (28 loc) 565 B
'use strict' const ArgumentsError = require('./ArgumentsError') const DimensionError = require('./DimensionError') const IndexError = require('./IndexError') module.exports = [ { name: 'ArgumentsError', path: 'error', factory: function () { return ArgumentsError } }, { name: 'DimensionError', path: 'error', factory: function () { return DimensionError } }, { name: 'IndexError', path: 'error', factory: function () { return IndexError } } ] // TODO: implement an InvalidValueError?