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

TypeDefinition error message grammar #3

Open
teotigraphix opened this issue Apr 13, 2013 · 4 comments
Open

TypeDefinition error message grammar #3

teotigraphix opened this issue Apr 13, 2013 · 4 comments
Labels

Comments

@teotigraphix
Copy link
Contributor

Line 46: "Class not does defined a usable className" does not make sense.

@teotigraphix
Copy link
Contributor Author

@labriola yeah, this belongs in guice repo

@labriola
Copy link
Member

okay. preference on what it should say/ the error happens when the class doesnt define a usable class name

@teotigraphix
Copy link
Contributor Author

Invalid className assignment for "Type" ? something like that?

@labriola
Copy link
Member

So the reason I throw the error is that we just have a function and can't tell what the classname is at all. So we literally dont know what this thing is they are trying to inject, its just a 'something' It most often happens when someone tries to inject an object that wasnt built by the compiler but is actually just a chunk of JS and they didnt decorate it. Not sure if that helps with what the error message should be

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

No branches or pull requests

2 participants