TestLensExitOps

final implicit class TestLensExitOps[E, A](self: TestLens[Exit[E, A]]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

Transforms an Exit to its underlying Cause if it has one, otherwise fails.

Transforms an Exit to its underlying Cause if it has one, otherwise fails.

def die: TestLens[Throwable]

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

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

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

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

def interrupted: TestLens[Boolean]

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

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

Transforms an Exit to its success type (A) if it is a succeed, otherwise fails.

Transforms an Exit to its success type (A) if it is a succeed, otherwise fails.