TestLensCauseOps

zio.test.package$.TestLensCauseOps
final implicit class TestLensCauseOps[E](self: TestLens[Cause[E]]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Transforms a Cause to a scala.Throwable if it is a die, otherwise fails.

Transforms a Cause to a scala.Throwable if it is a die, otherwise fails.

Attributes

Transforms a Cause to its failure type (E) if it is a fail, otherwise fails.

Transforms a Cause to its failure type (E) if it is a fail, otherwise fails.

Attributes

Transforms a Cause to a boolean value representing whether or not it was interrupted.

Transforms a Cause to a boolean value representing whether or not it was interrupted.

Attributes