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

PlugIn user wants a more descriptive error when an unknown mode is specified #10

Open
danidemi opened this issue Apr 25, 2017 · 0 comments

Comments

@danidemi
Copy link
Owner

danidemi commented Apr 25, 2017

In order to use the plugin in a more effective way
as a plugin user
I want the error message in case I use an unknown mode to be more descriptive.

Rationale

I got this error running the plgin...

$ mvn clean generate-sources
Cannot convert 'ONE_CONTEXT_PER_ROW' to Enum: No enum constant com.danidemi.templategeneratormavenplugin.maven.GenerateMojo.ContextMode.ONE_CONTEXT_PER_ROW

...now, am I allowed to know which are the enum constants without being forced to check the doc or the source ?

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