Wrong error message when indexing unknown enum

When indexing the unknown value Enum.Foobar, the following error is thrown:

Foobar is not a valid EnumItem

The message should be

Foobar is not a valid Enum
2 Likes