E4004 Names Errors

Names

function '%s' already declared

When this occurs

Accessing non-existent enum value

Example error message

error[E4004]: enum value 'BAR' not found in enum 'Status'

How to fix

Use a value that exists in the enum definition.

Related errors