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)
832
public Exception?
Exception
{ get; init; }
19 references to Exception
Aspire.Hosting (9)
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)
320
if (configuration.
Exception
is not null)
322
throw new FailedToApplyEnvironmentException($"Failed to apply configuration to container {cr.ModelResource.Name}", configuration.
Exception
);
Dcp\ExecutableCreator.cs (2)
61
if (configuration.Configuration.
Exception
is not null)
65
configuration.Configuration.
Exception
);
Publishing\ManifestPublishingContext.cs (4)
540
if (executionConfiguration.
Exception
is not null)
542
ExceptionDispatchInfo.Throw(executionConfiguration.
Exception
);
578
if (executionConfiguration.
Exception
is not null)
580
ExceptionDispatchInfo.Throw(executionConfiguration.
Exception
);
Aspire.Hosting.EntityFrameworkCore (2)
EFResourceBuilderExtensions.cs (2)
433
if (executionConfiguration.
Exception
is not null)
443
Message = executionConfiguration.
Exception
.Message
Aspire.Hosting.Tests (4)
ExecutionConfigurationGathererTests.cs (4)
227
Assert.NotNull(result.
Exception
);
228
var aggregate = Assert.IsType<AggregateException>(result.
Exception
);
262
Assert.NotNull(result.
Exception
);
263
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
);