constructor(message, cursor) {
        super(message)
        this.name = 'ParseError'
        this.cursor = cursor
    }
@param {string} message - the error message
@param {number} cursor - the cursor index where the error occurred