CommandFailure

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case class ContainerAlreadyExists(command: Command, containerName: ContainerName, message: DockerErrorMessage) extends CommandFailure
final case class ContainerAlreadyRunning(command: Command, containerId: ContainerId) extends CommandFailure
final case class ContainerNotFound(command: Command, containerId: ContainerId) extends CommandFailure
final case class ContainerNotReady(command: Command, containerId: ContainerId) extends CommandFailure
final case class DockerApiDecodingFailure(body: String, command: Command, reason: String) extends CommandFailure
final case class ImageNotFound(command: Command, image: Image) extends CommandFailure
final case class UnexpectedDockerApiError(message: DockerErrorMessage, command: Command, statusCode: Int) extends CommandFailure
final case class UnexpectedHttpError(cause: Throwable, command: Command, uri: String) extends CommandFailure

Inherited types

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def containerNotFound(command: Command, containerId: ContainerId): IO[ContainerNotFound, Nothing]
def decodeResponse[A : JsonDecoder](body: String, command: Command): DockerIO[Any, A]
def imageNotFound(command: Command, image: Image): IO[ImageNotFound, Nothing]
def nettyRequest[A](command: Command, response: ZIO[Any, Throwable, (Int, String)], uri: String): DockerIO[Any, Response]
def nettyRequestNoResponse[A](command: Command, response: ZIO[Any, Throwable, Int], uri: String): DockerIO[Any, Response]
def unexpectedDockerApiError(body: String, command: Command, statusCode: Int): DockerIO[Any, Response]