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

doc/Invoke: Clearer "success indicator" wording for errors #840

Merged
merged 1 commit into from Feb 15, 2022

Conversation

abhinav
Copy link
Collaborator

@abhinav abhinav commented Feb 15, 2022

A user was confused by the wording,

If the final returned object is an error,
it's assumed to be a success indicator.

They reasonably expect that an error is an indicator of failure.

Clarify the sentence to make it clear that the error indicates whether
the operation was successful.

A user was confused by the wording,

> If the final returned object is an error,
> it's assumed to be a success indicator.

They reasonably expect that an error is an indicator of failure.

Clarify the sentence to make it clear that the error indicates *whether*
the operation was successful.
@codecov
Copy link

codecov bot commented Feb 15, 2022

Codecov Report

Merging #840 (d893fd9) into master (b2c4636) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #840   +/-   ##
=======================================
  Coverage   98.42%   98.42%           
=======================================
  Files          30       30           
  Lines        1076     1076           
=======================================
  Hits         1059     1059           
  Misses         11       11           
  Partials        6        6           
Impacted Files Coverage Δ
invoke.go 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b2c4636...d893fd9. Read the comment docs.

@abhinav abhinav merged commit 5505874 into master Feb 15, 2022
@abhinav abhinav deleted the abg/docfix branch February 15, 2022 17:14
josephinedotlee pushed a commit that referenced this pull request Feb 18, 2022
A user was confused by the wording,

> If the final returned object is an error,
> it's assumed to be a success indicator.

They reasonably expect that an error is an indicator of failure.

Clarify the sentence to make it clear that the error indicates *whether*
the operation was successful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants