Containers/ComposeServiceFailedException.cs

testcontainers-dotnet · src/Testcontainers/Containers/ComposeServiceFailedException.cs · csharp · MIT
infra

Exception thrown when Docker Compose services fail to start during containerized 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.Containers
{
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using JetBrains.Annotations;

  /// <summary>
  /// Represents an exception that is thrown when one or more Docker Compose
  /// services did not start successfully.
  /// </summary>
  [PublicAPI]
  public sealed class ComposeServiceFailedException : Exception
  {
    private static readonly string[] LineEndings = { "\r\n", "\n" };

    /// <summary>
    /// Initializes a new instance of the <see cref="ComposeServiceFailedException" /> class.
    //

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

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

Get a free API key