CommandFailure

io.github.scottweaver.zillen.CommandFailure$
See theCommandFailure companion trait

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class ContainerAlreadyExists(command: Command, containerName: ContainerName, message: DockerErrorMessage) extends CommandFailure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class ContainerAlreadyRunning(command: Command, containerId: ContainerId) extends CommandFailure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class ContainerNotFound(command: Command, containerId: ContainerId) extends CommandFailure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class ContainerNotReady(command: Command, containerId: ContainerId) extends CommandFailure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class DockerApiDecodingFailure(body: String, command: Command, reason: String) extends CommandFailure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class ImageNotFound(command: Command, image: Image) extends CommandFailure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class UnexpectedDockerApiError(message: DockerErrorMessage, command: Command, statusCode: Int) extends CommandFailure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class UnexpectedHttpError(cause: Throwable, command: Command, uri: String) extends CommandFailure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

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]