Skip to content

[Feature] Return false when error occured #2

@oliveiraa

Description

@oliveiraa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions