9 instantiations of ProcessFailedException
Aspire.Hosting (7)
Publishing\DockerContainerRuntime.cs (3)
133
throw new
ProcessFailedException
(
231
throw new
ProcessFailedException
(
310
throw new
ProcessFailedException
(
Publishing\PodmanContainerRuntime.cs (2)
220
throw new
ProcessFailedException
(
251
throw new
ProcessFailedException
(
Publishing\ResourceContainerImageManager.cs (1)
690
throw new
ProcessFailedException
(
Publishing\WslcContainerRuntime.cs (1)
112
throw new
ProcessFailedException
(
Aspire.Hosting.Tests (2)
Pipelines\DistributedApplicationPipelineTests.cs (1)
969
var expected = new
ProcessFailedException
("Docker build failed with exit code 1.", 1, ["output-001"]);
Publishing\ProcessFailedExceptionTests.cs (1)
18
var exception = new
ProcessFailedException
("Build failed.", 1, processOutput, totalProcessOutputLineCount: 60);
26 references to ProcessFailedException
Aspire.Hosting (1)
Publishing\ProcessFailedException.cs (1)
14
/// Initializes a new instance of <see cref="
ProcessFailedException
"/>.
Aspire.Hosting.Tests (25)
Pipelines\DistributedApplicationPipelineTests.cs (3)
969
var
expected = new ProcessFailedException("Docker build failed with exit code 1.", 1, ["output-001"]);
975
var
exception = await Assert.ThrowsAsync<
ProcessFailedException
>(() => pipeline.ExecuteAsync(context)).DefaultTimeout();
Publishing\DockerContainerRuntimeTests.cs (4)
166
var
exception = await Assert.ThrowsAsync<
ProcessFailedException
>(
249
var
exception = await Assert.ThrowsAsync<
ProcessFailedException
>(() => BuildImageAsync(runtime, options));
Publishing\DotnetProgramArchiveTests.cs (2)
138
var
exception = await Assert.ThrowsAsync<
ProcessFailedException
>(
Publishing\PodmanSaveArgumentsTests.cs (4)
230
var
exception = await Assert.ThrowsAsync<
ProcessFailedException
>(() => BuildImageAsync(runtime, options));
252
var
exception = await Assert.ThrowsAsync<
ProcessFailedException
>(() => BuildImageAsync(runtime, options));
Publishing\ProcessFailedExceptionTests.cs (1)
18
var
exception = new ProcessFailedException("Build failed.", 1, processOutput, totalProcessOutputLineCount: 60);
Publishing\ResourceContainerImageManagerTests.cs (9)
797
var
exception = await Assert.ThrowsAsync<
ProcessFailedException
>(() =>
861
await Assert.ThrowsAsync<
ProcessFailedException
>(() =>
1138
var
exception = await Assert.ThrowsAsync<
ProcessFailedException
>(
1180
var
exception = await Assert.ThrowsAsync<
ProcessFailedException
>(
2302
var
ex = await Assert.ThrowsAsync<
ProcessFailedException
>(
Publishing\WslcContainerRuntimeTests.cs (2)
153
var
exception = await Assert.ThrowsAsync<
ProcessFailedException
>(() => runtime.BuildImageAsync(