API reference / @jsprismarine/commands / SelectorSyntaxError
Class: SelectorSyntaxError
Defined in: commands/src/selector.ts:158
Thrown when a selector string does not parse in the requested dialect.
Extends
Constructors
Constructor
new SelectorSyntaxError(
message,position):SelectorSyntaxError
Defined in: commands/src/selector.ts:162
Parameters
message
string
position
number
Returns
SelectorSyntaxError
Overrides
Error.constructor
Properties
position
readonlyposition:number
Defined in: commands/src/selector.ts:160
The zero-based offset in the input where parsing stopped.