Result

zio.test.Result$
See theResult companion trait
object Result

Attributes

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

Members list

Concise view

Type members

Classlikes

case class Die(err: Throwable) extends Result[Nothing]

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Result[Nothing]
class Object
trait Matchable
class Any
case object Fail extends Result[Nothing]

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
trait Result[Nothing]
class Object
trait Matchable
class Any
Self type
Fail.type
case class Succeed[+A](value: A) extends Result[A]

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Result[A]
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 die(throwable: Throwable): Result[Nothing]
def fail: Result[Nothing]
def succeed[A](value: A): Result[A]