UnexpectedTokenError
The formula contains an unexpected token.
typestringrequired
Constant value:
unexpected_tokenDefault value:
unexpected_tokenlocation objectrequired
Location of the error in the formula. If none, the parser wasn't able to locate the position of the error.
- ErrorLocation
- null
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
unexpectedTokenstringrequired
UnexpectedTokenError
{
"type": "unexpected_token",
"location": {
"startPos": 0,
"endPos": 0
},
"unexpectedToken": "string"
}