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
[core-lro] add a flag to control whether to throw when the operation is unsuccessful (Azure#23311)
Adds `resolveOnUnsuccessful` flag that controls whether to throw an error if the operation failed or was canceled. This flag is turned off by default but REST-level clients should turn it on to maintain the direction of not raising exceptions when receiving unexpected responses.
Copy file name to clipboardExpand all lines: sdk/core/core-lro/CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,11 @@
1
1
# Release History
2
2
3
-
## 2.3.2 (Unreleased)
3
+
## 2.4.0 (Unreleased)
4
4
5
5
### Features Added
6
6
7
+
- Add `resolveOnUnsuccessful` to `CreatePollerOptions` and `LroEngineOptions` to control whether to throw an error if the operation failed or was canceled.
0 commit comments