Commit 150ff3d
fix: errorMapping in ResponseCodes with "4XX" and "5XX" Pattern (#1735)
* Enable errorMapping with "4XX" and "5XX" pattern
fix: Failed Responses now work with errorMapping with Key "4XX" and "5XX".
It looks like, there should be code here to satisfy the "4XX" and "5XX" keys to match 400-499 and 500-599 StatusCodes. But it does not work yet, so i implemented it quickly.
Im new here in such big Projects, so i dont know if im at the right address for this issue. I'm open for feedback tho.
* fix: missing parenthesis
---------
Co-authored-by: Vincent Biret <[email protected]>1 parent d898436 commit 150ff3d
File tree
1 file changed
+10
-2
lines changed- src/main/java/com/microsoft/graph/core/requests
1 file changed
+10
-2
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
87 | 95 | | |
88 | 96 | | |
89 | 97 | | |
| |||
0 commit comments