2 implementations of Exception
Aspire.Hosting (1)
ApplicationModel\ExecutionConfigurationResult.cs (1)
30
public Exception?
Exception
{ get; init; }
Aspire.Hosting.EntityFrameworkCore.Tests (1)
EFMigrationPipelineTests.cs (1)
920
public Exception?
Exception
{ get; init; }
20 references to Exception
Aspire.Hosting (10)
ApplicationModel\IExecutionConfigurationBuilder.cs (1)
26
/// <returns>The resource configuration result. Any exceptions that occurred while processing are available via the <see cref="IExecutionConfigurationResult.
Exception
"/> property.</returns>
Dcp\ContainerCreator.cs (2)
228
if (configuration.
Exception
is not null)
230
throw new FailedToApplyEnvironmentException($"Failed to apply configuration to container {cr.ModelResource.Name}", configuration.
Exception
);
Dcp\ExecutableCreator.cs (2)
68
if (configuration.Configuration.
Exception
is not null)
72
configuration.Configuration.
Exception
);
Lifecycle\DotnetBuildCommandEventingSubscriber.cs (1)
66
if (executionConfiguration.
Exception
is { } exception)
Publishing\ManifestPublishingContext.cs (4)
548
if (executionConfiguration.
Exception
is not null)
550
ExceptionDispatchInfo.Throw(executionConfiguration.
Exception
);
586
if (executionConfiguration.
Exception
is not null)
588
ExceptionDispatchInfo.Throw(executionConfiguration.
Exception
);
Aspire.Hosting.EntityFrameworkCore (2)
EFResourceBuilderExtensions.cs (2)
522
if (executionConfiguration.
Exception
is not null)
532
Message = executionConfiguration.
Exception
.Message
Aspire.Hosting.Tests (4)
ExecutionConfigurationGathererTests.cs (4)
262
Assert.NotNull(result.
Exception
);
263
var aggregate = Assert.IsType<AggregateException>(result.
Exception
);
297
Assert.NotNull(result.
Exception
);
298
var aggregate = Assert.IsType<AggregateException>(result.
Exception
);
Aspire.Hosting.TestUtilities (4)
Utils\ArgumentEvaluator.cs (2)
24
if (executionConfiguration.
Exception
is not null)
26
ExceptionDispatchInfo.Throw(executionConfiguration.
Exception
);
Utils\EnvironmentVariableEvaluator.cs (2)
25
if (executionConfiguration.
Exception
is not null)
27
ExceptionDispatchInfo.Throw(executionConfiguration.
Exception
);