You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,13 +41,13 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
41
41
```
42
42
43
43
### 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.
45
45
Following handlers currently supported:
46
46
47
47
| Handler | Action | Transition |
48
48
| ---------| ------------- | ------------- |
49
49
| 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 |
51
51
| Handled | Mark exception as handled to prevent it from bein re thrown | Handled |
52
52
| Retry | Execute aspnetcore pipeline again if retry count not exceed limit | Retry (if retry limit not exceeded) or NextHandler |
0 commit comments