Images/ImageBuildFailedException.cs

testcontainers-dotnet · src/Testcontainers/Images/ImageBuildFailedException.cs · csharp · MIT
infra

Exception thrown when Docker image build fails during container testing.

// Source: https://github.com/testcontainers/testcontainers-dotnet | License: MIT | Copyright 2019 - 2026 Andre Hofmeister and other authors
// Provided via justclaw.it.com; keep this notice with the code.
namespace DotNet.Testcontainers.Images
{
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using Docker.DotNet.Models;
  using JetBrains.Annotations;

  /// <summary>
  /// Represents an exception that is thrown when a Docker image build has failed.
  /// </summary>
  [PublicAPI]
  public sealed class ImageBuildFailedException : Exception
  {
    /// <summary>
    /// Initializes a new instance of the <see cref="ImageBuildFailedException" /> class.
    /// </summary>
    /// <param name="image">The Docker image.</param>
    /// <param name="e

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key