DifferentTypesInOperationError
Operations with different types (like adding a price to a volume) are not allowed.
typeTyperequired
Constant value:
different_typesDefault value:
different_typeslocation objectrequired
Location of the error in the formula. If none, the parser wasn't able to locate the position of the error.
- ErrorLocation
- null
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]
DifferentTypesInOperationError
{
"type": "different_types",
"location": {
"startPos": 0,
"endPos": 0
},
"operator": "string",
"types": [
"volume"
]
}