Skip to main content

DifferentTypesInIfsError

Operations with different types in IF(S) result arguments are not allowed.

typeTyperequired
Constant value: different_types_in_ifs
Default value: different_types_in_ifs
location objectrequired

Location of the error in the formula. If none, the parser wasn't able to locate the position of the error.

anyOf
startPosStartposrequired

Start position of the error in the formula.

Possible values: >= 0

endPosEndposrequired

End position of the error in the formula.

Possible values: >= 1

operatorOperatorrequired

The operator that caused the error.

typesstring[]required

All types of the operation raising the error.

Possible values: [volume, price, volume_based_price, boolean, number, text]

DifferentTypesInIfsError
{
"type": "different_types_in_ifs",
"location": {
"startPos": 0,
"endPos": 0
},
"operator": "string",
"types": [
"volume"
]
}