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

api: remove Future.Err() #382

Merged
merged 1 commit into from
Feb 11, 2024
Merged

Commits on Feb 9, 2024

  1. api: remove Future.Err()

    The method causes an improper error handling because it returns an error
    only from a client side. Therefore, it is not enough to simply check
    the error to find out that the request was not completed.
    
    A user should check an error from `Future.Get()` or
    `Future.GetTyped()`. In addition, the user can find out whether there
    was an error without decoding the response body with
    `Future.GetResponse()`, see `ExampleErrorNo`.
    oleg-jukovec committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    8147ad2 View commit details
    Browse the repository at this point in the history