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