TestLensTryOps

zio.test.`package`.TestLensTryOps
final implicit class TestLensTryOps[A](self: TestLens[Try[A]]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Transforms an scala.util.Try to a scala.Throwable if it is a scala.util.Failure, otherwise fails.

Transforms an scala.util.Try to a scala.Throwable if it is a scala.util.Failure, otherwise fails.

Attributes

def success: TestLens[A]

Transforms an scala.util.Try to its scala.util.Success value A, otherwise fails if it is a scala.util.Failure.

Transforms an scala.util.Try to its scala.util.Success value A, otherwise fails if it is a scala.util.Failure.

Attributes