Skip to main content

DifferentTypesInIfsError

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

typestringrequired
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

Represents the location of an error in a formula.

startPosintegerrequired

Start position of the error in the formula.

Possible values: >= 0

endPosintegerrequired

End position of the error in the formula.

Possible values: >= 1

operatorstringrequired

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"
]
}