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

Invalid type specification for Token.for_scope/1 #31

Closed
nicolasgarnil opened this issue Jan 2, 2018 · 1 comment
Closed

Invalid type specification for Token.for_scope/1 #31

nicolasgarnil opened this issue Jan 2, 2018 · 1 comment

Comments

@nicolasgarnil
Copy link

Problem

The type specification for the method Token.for_scope/1 specifies that it can return an :error atom but it never does

Solution

In which cases can Token.for_scope/1 return an error? If it can actually can return an error then it should be handled, if not, the type specification should be removed

@peburrows
Copy link
Owner

Closing as this was resolved by #34.

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

2 participants