14 references to AddError
Aspire.Hosting (4)
Dashboard\DashboardOptions.cs (2)
45
builder.
AddError
("Failed to configure dashboard resource because ASPNETCORE_URLS environment variable was not set.");
50
builder.
AddError
("Failed to configure dashboard resource because DOTNET_DASHBOARD_OTLP_ENDPOINT_URL and DOTNET_DASHBOARD_OTLP_HTTP_ENDPOINT_URL environment variables are not set. At least one OTLP endpoint must be provided.");
Dcp\DcpOptions.cs (2)
88
builder.
AddError
("The path to the DCP executable used for Aspire orchestration is required.", "CliPath");
93
builder.
AddError
("The path to the Aspire Dashboard binaries is missing.", "DashboardPath");
Microsoft.AspNetCore.HeaderParsing (1)
HeaderParsingOptionsManualValidator.cs (1)
18
builder.
AddError
(
Microsoft.Extensions.Compliance.Testing (1)
FakeRedactorOptionsCustomValidator.cs (1)
24
builder.
AddError
(
Microsoft.Extensions.Diagnostics.Probes (1)
KubernetesProbesOptionsValidator.cs (1)
18
builder.
AddError
("Liveness, startup and readiness probes must use different ports.");
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
ResourceMonitoringOptionsCustomValidator.cs (2)
18
builder.
AddError
(
28
builder.
AddError
(nameof(options.SourceIpAddresses), "must contain IPv4 or IPv6 addresses only");
Microsoft.Extensions.Http.Resilience (5)
Hedging\Internals\Validators\HttpStandardHedgingResilienceOptionsCustomValidator.cs (3)
19
builder.
AddError
($"Total request timeout strategy must have a greater timeout than the attempt timeout strategy. " +
27
builder.
AddError
("The sampling duration of circuit breaker strategy needs to be at least double of " +
41
builder.
AddError
($"The cumulative delay of the hedging strategy is larger than total request timeout interval. " +
Resilience\Internal\Validators\HttpStandardResilienceOptionsCustomValidator.cs (2)
19
builder.
AddError
($"Total request timeout resilience strategy must have a greater timeout than the attempt resilience strategy. " +
26
builder.
AddError
("The sampling duration of circuit breaker strategy needs to be at least double of " +