Skip to content
ricardoboss edited this page Sep 13, 2023 · 1 revision

Invalid Identifier Exception

Description

An identifier contains an invalid character.

Example:

string 213 = "Hello, World!"

or:

string hello.world = "Hello, World!"

Remediation

Remove the invalid character from the identifier or add a valid prefix.

Example:

- string 213 = "Hello, World!"
+ string x213 = "Hello, World!"

or:

- string hello.world = "Hello, World!"
+ string hello_world = "Hello, World!"