9 instantiations of ProcessFailedException
Aspire.Hosting (7)
Publishing\DockerContainerRuntime.cs (3)
131throw new ProcessFailedException( 228throw new ProcessFailedException( 357throw new ProcessFailedException(
Publishing\PodmanContainerRuntime.cs (2)
239throw new ProcessFailedException( 332throw new ProcessFailedException(
Publishing\ResourceContainerImageManager.cs (1)
707throw new ProcessFailedException(
Publishing\WslcContainerRuntime.cs (1)
112throw new ProcessFailedException(
Aspire.Hosting.Tests (2)
Pipelines\DistributedApplicationPipelineTests.cs (1)
969var expected = new ProcessFailedException("Docker build failed with exit code 1.", 1, ["output-001"]);
Publishing\ProcessFailedExceptionTests.cs (1)
18var 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)
969var expected = new ProcessFailedException("Docker build failed with exit code 1.", 1, ["output-001"]); 975var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => pipeline.ExecuteAsync(context)).DefaultTimeout();
Publishing\DockerContainerRuntimeTests.cs (4)
196var exception = await Assert.ThrowsAsync<ProcessFailedException>( 279var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => BuildImageAsync(runtime, options));
Publishing\DotnetProgramArchiveTests.cs (2)
142var exception = await Assert.ThrowsAsync<ProcessFailedException>(
Publishing\PodmanSaveArgumentsTests.cs (4)
299var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => BuildImageAsync(runtime, options)); 325var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => BuildImageAsync(runtime, options));
Publishing\ProcessFailedExceptionTests.cs (1)
18var exception = new ProcessFailedException("Build failed.", 1, processOutput, totalProcessOutputLineCount: 60);
Publishing\ResourceContainerImageManagerTests.cs (9)
1107var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => 1171await Assert.ThrowsAsync<ProcessFailedException>(() => 1449var exception = await Assert.ThrowsAsync<ProcessFailedException>( 1491var exception = await Assert.ThrowsAsync<ProcessFailedException>( 2691var ex = await Assert.ThrowsAsync<ProcessFailedException>(
Publishing\WslcContainerRuntimeTests.cs (2)
153var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => runtime.BuildImageAsync(