TestFailure

zio.test.TestFailure
See theTestFailure companion object
sealed abstract class TestFailure[+E]

Attributes

Companion
object
Source
TestFailure.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Assertion
class Runtime[E]
Self type

Members list

Value members

Abstract methods

Retrieves the annotations associated with this test failure.

Retrieves the annotations associated with this test failure.

Attributes

Source
TestFailure.scala

Concrete methods

def annotated(annotations: TestAnnotationMap): TestFailure[E]

Annotates this test failure with the specified test annotations.

Annotates this test failure with the specified test annotations.

Attributes

Source
TestFailure.scala
def map[E2](f: E => E2): TestFailure[E2]

Transforms the error type of this test failure with the specified function.

Transforms the error type of this test failure with the specified function.

Attributes

Source
TestFailure.scala