object CompositeFailure
- Companion
- class
Type members
Value members
Concrete methods
def fromResults(first: Either[Throwable, Unit], second: Either[Throwable, Unit]): Either[Throwable, Unit]
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