We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf63bdb commit fd3d40aCopy full SHA for fd3d40a
README.md
@@ -85,12 +85,12 @@ Policy
85
// Handle multiple return values
86
Policy
87
.HandleResult<HttpResponseMessage>(r => r.StatusCode == HttpStatusCode.InternalServerError)
88
- .OrResult<HttpResponseMessage>(r => r.StatusCode == HttpStatusCode.BadGateway)
+ .OrResult(r => r.StatusCode == HttpStatusCode.BadGateway)
89
90
// Handle primitive return values (implied use of .Equals())
91
92
.HandleResult<HttpStatusCode>(HttpStatusCode.InternalServerError)
93
- .OrResult<HttpStatusCode>(HttpStatusCode.BadGateway)
+ .OrResult(HttpStatusCode.BadGateway)
94
95
// Handle both exceptions and return values in one policy
96
HttpStatusCode[] httpStatusCodesWorthRetrying = {
0 commit comments