E2001 Syntax Errors

Syntax

unexpected symbol

When this occurs

Token found where another was expected

Example error message

error[E2001]: unexpected token 'foo'

How to fix

Check your syntax around the reported location. You may have a typo or missing punctuation.

Related errors