Expected literal constant
You declared a constant, but assigned it a variable expression (a value that can change). Constants cannot contain runtime code.
To correct this error
- Do not use expressions when declaring constants.
You declared a constant, but assigned it a variable expression (a value that can change). Constants cannot contain runtime code.