Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Commit 8fdad72

Browse files
Ihar YakimushIhar Yakimush
authored andcommitted
update readme
1 parent 8126329 commit 8fdad72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
4141
```
4242

4343
### Policy exception handler transitions
44-
When exception catched in middleware it try to apply handlers from first registered policy siutable for given exception. Policy contains a chain of handlers. Each handler perform some action and apply transition. To prevent re throw of exception handlers chain MUST ends with "Handled" transition.
44+
When exception catched in middleware it try to apply handlers from first registered policy suitable for given exception. Policy contains a chain of handlers. Each handler perform some action and apply transition. To prevent re throw of exception handlers chain MUST ends with "Handled" transition.
4545
Following handlers currently supported:
4646

4747
| Handler | Action | Transition |
4848
| ---------| ------------- | ------------- |
4949
| Rethrow | Apply ReThrow transition | ReThrow |
50-
| NextPolicy | Try to execute next policy siutable for given exception | NextPolicy |
50+
| NextPolicy | Try to execute next policy suitable for given exception | NextPolicy |
5151
| Handled | Mark exception as handled to prevent it from bein re thrown | Handled |
5252
| Retry | Execute aspnetcore pipeline again if retry count not exceed limit | Retry (if retry limit not exceeded) or NextHandler |
5353
| Log | Log exception | NextHandler |

0 commit comments

Comments
 (0)