Fix enum error message

If using `enum` in your schema and you had some JSON that didn't validate with the enum requirements, it would throw the following error when it tried to generate the error message:

```
ReferenceError: enm is not defined
```