CompositeFailure

fs2.CompositeFailure$
See theCompositeFailure companion class

Attributes

Companion:
class
Source:
CompositeFailure.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def apply(first: Throwable, second: Throwable, rest: List[Throwable]): CompositeFailure

Attributes

Source:
CompositeFailure.scala

Builds composite failure from the results supplied.

Builds composite failure from the results supplied.

  • When any of the results are on left, then the Left(err) is returned
  • When both results fail, the Left(CompositeFailure(_)) is returned
  • When both results succeeds then Right(()) is returned

Attributes

Source:
CompositeFailure.scala