FormulaError

FormulaError

Formula Error.

Constructor

new FormulaError(error, msgopt, detailsopt) → {FormulaError}

Source:
Parameters:
Name Type Attributes Description
error string

error code, i.e. #NUM!

msg string <optional>

detailed error message

details object | Error <optional>
Returns:
Type
FormulaError

Classes

ARG_MISSING
ERROR
NOT_IMPLEMENTED
TOO_MANY_ARGS

Members

(static) DIV0 :FormulaError

Source:

DIV0 error

Type:

(static) NA :FormulaError

Source:

NA error

Type:

(static) NAME :FormulaError

Source:

NAME error

Type:

(static) NULL :FormulaError

Source:

NULL error

Type:

(static) NUM :FormulaError

Source:

NUM error

Type:

(static) REF :FormulaError

Source:

REF error

Type:

(static) VALUE :FormulaError

Source:

VALUE error

Type:

error

Source:

Get the error name.

Methods

equals(err) → {boolean}

Source:

Return true if two errors are same.

Parameters:
Name Type Description
err FormulaError
Returns:

if two errors are same.

Type
boolean

toString() → {string}

Source:

Return the formula error in string representation.

Returns:

the formula error in string representation.

Type
string