Add Throws for exceptions to the docs#795
Merged
dtchepak merged 11 commits intonsubstitute:mainfrom Apr 30, 2024
Merged
Conversation
Contributor
Author
|
I dont know how to fix the compilation (because of the needed using) |
Contributor
Author
|
I think I fixed it. But not sure if it's the best way. |
Contributor
Author
|
I'm now confused, we have Throw and Throws, and both have the comments: and |
Member
|
dtchepak
reviewed
Apr 28, 2024
Member
dtchepak
left a comment
There was a problem hiding this comment.
Looks great, thanks for the doc updates! 🙇
Left some minor comments before we merge.
| ``` | ||
|
|
||
| ### Returns | ||
| Another way is to use the underlying method, `.Returns`. See also [Callbacks](/help/callbacks) |
Member
There was a problem hiding this comment.
nitpick: missing trailing full stop.
See also [Callbacks](/help/callbacks).
dtchepak
approved these changes
Apr 30, 2024
This was referenced Jul 25, 2025
This was referenced Aug 4, 2025
This was referenced Aug 15, 2025
This was referenced Dec 7, 2025
Closed
This was referenced Dec 24, 2025
This was referenced Jan 12, 2026
Closed
This was referenced Jan 20, 2026
This was referenced Feb 6, 2026
This was referenced Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It's confusing that the docs talk about using .Returns, while we have .Throws (not sure from which version)
Not sure what I should do with the date in de post name. Should I update it?
(Please squash on merge PR)
Fixes #750