@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20260526.4 → 1.0.0-alpha.20260531.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20260526.4": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20260531.1": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.57.0",
12
12
  "Azure.Generator": "1.0.0-alpha.20260516.2",
@@ -729,7 +729,7 @@
729
729
  }
730
730
  },
731
731
  "libraries": {
732
- "Azure.Generator.Management/1.0.0-alpha.20260526.4": {
732
+ "Azure.Generator.Management/1.0.0-alpha.20260531.1": {
733
733
  "type": "project",
734
734
  "serviceable": false,
735
735
  "sha512": ""
@@ -241,7 +241,7 @@ namespace Azure.Core
241
241
  throw new ArgumentNullException(nameof(rawResponse));
242
242
  }
243
243
 
244
- return new OperationState(rawResponse, true, false, operationFailedException);
244
+ return new OperationState(rawResponse, true, false, operationFailedException ?? new RequestFailedException(rawResponse));
245
245
  }
246
246
 
247
247
  /// <summary>
@@ -409,7 +409,7 @@ namespace Azure.Core
409
409
  throw new ArgumentNullException(nameof(rawResponse));
410
410
  }
411
411
 
412
- return new OperationState<T>(rawResponse, true, false, default, operationFailedException);
412
+ return new OperationState<T>(rawResponse, true, false, default, operationFailedException ?? new RequestFailedException(rawResponse));
413
413
  }
414
414
 
415
415
  /// <summary>
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20260526.4": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20260531.1": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.57.0",
12
12
  "Azure.Generator": "1.0.0-alpha.20260516.2",
@@ -729,7 +729,7 @@
729
729
  }
730
730
  },
731
731
  "libraries": {
732
- "Azure.Generator.Management/1.0.0-alpha.20260526.4": {
732
+ "Azure.Generator.Management/1.0.0-alpha.20260531.1": {
733
733
  "type": "project",
734
734
  "serviceable": false,
735
735
  "sha512": ""
@@ -241,7 +241,7 @@ namespace Azure.Core
241
241
  throw new ArgumentNullException(nameof(rawResponse));
242
242
  }
243
243
 
244
- return new OperationState(rawResponse, true, false, operationFailedException);
244
+ return new OperationState(rawResponse, true, false, operationFailedException ?? new RequestFailedException(rawResponse));
245
245
  }
246
246
 
247
247
  /// <summary>
@@ -409,7 +409,7 @@ namespace Azure.Core
409
409
  throw new ArgumentNullException(nameof(rawResponse));
410
410
  }
411
411
 
412
- return new OperationState<T>(rawResponse, true, false, default, operationFailedException);
412
+ return new OperationState<T>(rawResponse, true, false, default, operationFailedException ?? new RequestFailedException(rawResponse));
413
413
  }
414
414
 
415
415
  /// <summary>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-typespec/http-client-csharp-mgmt",
3
- "version": "1.0.0-alpha.20260526.4",
3
+ "version": "1.0.0-alpha.20260531.1",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for emitting Azure management libraries for C#.",
6
6
  "readme": "https://github.com/Azure/azure-sdk-for-net/blob/main/eng/packages/http-client-csharp-mgmt/README.md",