Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear Error on yml with non-existing class #22

Open
jasperfennet opened this issue May 7, 2018 · 0 comments
Open

Unclear Error on yml with non-existing class #22

jasperfennet opened this issue May 7, 2018 · 0 comments

Comments

@jasperfennet
Copy link

When adding a non-existing class to the yml the error generated is unclear.

when adding the following to an enun.{locale}.yml
non-existing_class: 'FooBar'

the error message states
Could not load constants for a class ''

Where the actual cause is
Could not load constants for non-existing class 'non-existing_class'
or
Class 'non-existing_class' does not exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant