8 instantiations of ProcessFailedException
Aspire.Hosting (6)
Publishing\DockerContainerRuntime.cs (3)
133throw new ProcessFailedException( 231throw new ProcessFailedException( 310throw new ProcessFailedException(
Publishing\PodmanContainerRuntime.cs (2)
220throw new ProcessFailedException( 251throw new ProcessFailedException(
Publishing\ResourceContainerImageManager.cs (1)
665throw new ProcessFailedException(
Aspire.Hosting.Tests (2)
Pipelines\DistributedApplicationPipelineTests.cs (1)
912var 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);
24 references to ProcessFailedException
Aspire.Hosting (1)
Publishing\ProcessFailedException.cs (1)
14/// Initializes a new instance of <see cref="ProcessFailedException"/>.
Aspire.Hosting.Tests (23)
Pipelines\DistributedApplicationPipelineTests.cs (3)
912var expected = new ProcessFailedException("Docker build failed with exit code 1.", 1, ["output-001"]); 918var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => pipeline.ExecuteAsync(context)).DefaultTimeout();
Publishing\DockerContainerRuntimeTests.cs (4)
166var exception = await Assert.ThrowsAsync<ProcessFailedException>( 249var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => BuildImageAsync(runtime, options));
Publishing\DotnetProgramArchiveTests.cs (2)
139var exception = await Assert.ThrowsAsync<ProcessFailedException>(
Publishing\PodmanSaveArgumentsTests.cs (4)
230var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => BuildImageAsync(runtime, options)); 252var 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)
703var exception = await Assert.ThrowsAsync<ProcessFailedException>(() => 767await Assert.ThrowsAsync<ProcessFailedException>(() => 1044var exception = await Assert.ThrowsAsync<ProcessFailedException>( 1086var exception = await Assert.ThrowsAsync<ProcessFailedException>( 2143var ex = await Assert.ThrowsAsync<ProcessFailedException>(