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

[Feature] Return false when error occured #2

Open
oliveiraa opened this issue Jul 19, 2011 · 0 comments
Open

[Feature] Return false when error occured #2

oliveiraa opened this issue Jul 19, 2011 · 0 comments

Comments

@oliveiraa
Copy link

Whenever a token is not added, or any error of that nature happens, false should be returned by the addToken method.

It's currently returning the object it did create, but was not able to add. Which can be misleading and doesn't allow the calling code to easily know if it succeeded or not.

Thanks,

Alvaro Oliveira.

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