ContainerConnectException class

Thrown when a running container cannot be reached over the network.

Raised when the host IP address or mapped port of a container cannot be determined, or when the Reaper (ryuk) TCP handshake fails after all retry attempts are exhausted.

Example:

try {
  await container.start();
} on ContainerConnectException catch (e) {
  print(e.message);
}
Implemented types

Constructors

ContainerConnectException(String message)
Creates a ContainerConnectException with the given message.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable description of why the connection could not be established.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited