29 references to DistributedApplicationException
Aspire.Hosting (9)
Dcp\HostDashboardEndpointProvider.cs (1)
25throw new DistributedApplicationException("Error getting the resource service URL.", ex);
Exceptions.cs (1)
10public FailedToApplyEnvironmentException(string message, Exception inner) : base(message, inner) { }
MissingParameterValueException.cs (1)
33public MissingParameterValueException(string message, Exception innerException) : base(message, innerException)
Publishing\ContainerImageArchiveRewriter.cs (4)
133throw new DistributedApplicationException( 139throw new DistributedApplicationException( 527throw new DistributedApplicationException( 533throw new DistributedApplicationException(
Publishing\PipelineExecutor.cs (1)
97throw new DistributedApplicationException($"Pipeline execution failed: {ex.Message}", ex);
src\Shared\LaunchProfiles\LaunchSettingsReader.cs (1)
53throw new DistributedApplicationException(ex.Message, ex.InnerException ?? ex);
Aspire.Hosting.Azure (4)
Exceptions.cs (4)
10public AzureCliNotOnPathException(string message, Exception inner) : base(message, inner) { } 17public MissingConfigurationException(string message, Exception inner) : base(message, inner) { } 24public FailedToApplyEnvironmentException(string message, Exception inner) : base(message, inner) { } 29public ProvisioningFailedException(string message, Exception inner) : base(message, inner) { }
Aspire.Hosting.Azure.Functions (1)
src\Shared\LaunchProfiles\LaunchSettingsReader.cs (1)
53throw new DistributedApplicationException(ex.Message, ex.InnerException ?? ex);
Aspire.Hosting.Blazor (2)
BlazorHostedExtensions.cs (2)
319? new DistributedApplicationException(message, result.StartException) 362throw new DistributedApplicationException(
Aspire.Hosting.DevTunnels (2)
DevTunnelCliClient.cs (1)
598throw new DistributedApplicationException($"Failed to parse JSON output into type '{typeof(T).Name}':\n{output}", ex);
DevTunnelResourceBuilderExtensions.cs (1)
157var exception = new DistributedApplicationException($"Error trying to create the dev tunnel resource '{tunnelResource.TunnelId}' this port belongs to: {ex.Message}", ex);
Aspire.Hosting.Dotnet (3)
DotnetProjectRunPropertiesResolver.cs (2)
79throw new DistributedApplicationException( 149throw new DistributedApplicationException(
src\Shared\LaunchProfiles\LaunchSettingsReader.cs (1)
53throw new DistributedApplicationException(ex.Message, ex.InnerException ?? ex);
Aspire.Hosting.Maui (3)
MauiOtlpExtensions.cs (3)
435throw new DistributedApplicationException( 591throw new DistributedApplicationException( 615throw new DistributedApplicationException(
Aspire.Hosting.MongoDB (1)
ReplicaSet\MongoDBReplicaSetBuilderExtensions.cs (1)
353throw new DistributedApplicationException(
Aspire.Hosting.Rust (2)
CargoMetadataReader.cs (1)
92throw new DistributedApplicationException(
RustDockerfileGenerator.cs (1)
299throw new DistributedApplicationException(
Aspire.Hosting.Testing (1)
src\Shared\LaunchProfiles\LaunchSettingsReader.cs (1)
53throw new DistributedApplicationException(ex.Message, ex.InnerException ?? ex);
Aspire.Hosting.Yarp (1)
YarpJsonConfigGeneratorBuilder.cs (1)
70throw new DistributedApplicationException($"Error when reading the YARP config file '{_configFilePath}'", ex);