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

Public API methods to throw errors? #14

Open
feodormak opened this issue Sep 1, 2021 · 0 comments
Open

Public API methods to throw errors? #14

feodormak opened this issue Sep 1, 2021 · 0 comments

Comments

@feodormak
Copy link

Is your feature request related to a problem? Please describe.
The public APIs for this framework currently does not return any errors, just .available or .none on completion. checkForUpdates returns .none if there is no or poor connectivity.

Describe the solution you'd like
The method checkForUpdates should have a completion handler of @escaping (UpdatesResult, Error) -> Void to allows context as to why there is currently no update, and allow us to choose how to present the info in-app.

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