DataErrorType

const DataErrorType: object;

Type declaration

AttributeNotFound

readonly AttributeNotFound: 7 = 7;

The formula contains an attribute reference to an entity that does not exist.

Evaluation

readonly Evaluation: 4 = 4;

An error occurred specific to a particular formula feature, e.g. adding together values of
two different currencies.

InterfaceNotFound

readonly InterfaceNotFound: 8 = 8;

The formula contains an interface reference that does not exist.

InvalidFunction

readonly InvalidFunction: 5 = 5;

The formula attempts to call a function that does not exist.

InvalidParameter

readonly InvalidParameter: 6 = 6;

The formula passes an invalid parameter to a function.

Loop

readonly Loop: 2 = 2;

The formula directly or indirectly references itself. For example, if you have shape data
a =

B

b =

C

c =

A

when trying to evaluate any of those values, they eventually reference themselves, and thus
cannot be evaluated.

Parse

readonly Parse: 1 = 1;

A formula syntax error occurred

ReferenceNotFound

readonly ReferenceNotFound: 3 = 3;

The formula contains a reference to an entity that does not exist, e.g. an incorrect shape
data name, field name, or object ID.