7 references to InvalidOperationException
Microsoft.Extensions.Http.Resilience (7)
Hedging\Internals\RequestMessageSnapshotStrategy.cs (1)
27Throw.InvalidOperationException("The HTTP request message was not found in the resilience context.");
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (1)
88Throw.InvalidOperationException("Request message snapshot is not attached to the resilience context.");
Internal\RequestMessageSnapshot.cs (1)
78Throw.InvalidOperationException($"{nameof(StreamContent)} content cannot by cloned.");
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategy.cs (1)
36Throw.InvalidOperationException("The routing strategy is not initialized.");
Routing\Internal\RoutingResilienceStrategy.cs (2)
34Throw.InvalidOperationException("The HTTP request message was not found in the resilience context."); 47Throw.InvalidOperationException("The routing strategy did not provide any route URL on the first attempt.");
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategy.cs (1)
52Throw.InvalidOperationException("The routing strategy is not initialized.");