Fix Retry strategy ShouldHandle in example code by marcrocny · Pull Request #2527 · App-vNext/Polly (original) (raw)
Pull Request
The issue or feature being addressed
The existing example compiles, but incorrectly shows the ShouldHandle delegate as operating on an Exception object.
Details on the issue fix or feature implementation
Confirm the following
- I started this PR by branching from the head of the default branch
- I have targeted the PR to merge into the default branch
- N/A, doc only I have included unit tests for the issue/feature
- N/A, doc only I have successfully run a local build