Retrieves the enum value for the given string nick.
It is an assertion error to provide a non-enum class as the type argument.
| nick |
the string nick value |
|
the enum value |
| Catalyst.EnumParseError |
if no enum value exists with the given nick |