Skip to content

Commit 6cae9a9

Browse files
authored
drop duplicated paragraph
1 parent 1cd76eb commit 6cae9a9

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

website/docs/guides/exception-handling.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,6 @@ You execute the policy for any exception thrown by simply configuring with `Hand
4747
```
4848

4949

50-
## How to handle any exception regardless of the type
51-
52-
You execute the policy for any exception thrown by simply configuring with `HandleAnyException()` instead of `Handle<TypeOfException>()`.
53-
54-
55-
```csharp
56-
.AddMiddlewares(
57-
middlewares => middlewares
58-
.RetrySimple(
59-
(config) => config
60-
.HandleAnyException()
61-
...
62-
)
63-
...
64-
)
65-
```
66-
6750
## How to handle Exceptions that met given criteria
6851

6952
In case you need to handle multiple types of exceptions or apply any complex condition, you can use the `Handle(Func<RetryContext, bool> func)` method as the following example.

0 commit comments

Comments
 (0)