Skip to content

Instantly share code, notes, and snippets.

@LogicalTime
LogicalTime / ErrorFailure.scala
Created December 1, 2016 10:28 — forked from atamborrino/ErrorFailure.scala
Monad transformer for Future[A Or Every[Error]]
package models.error
import org.scalactic._
import scala.concurrent.{ExecutionContext, Future}
import org.scalactic.Accumulation._
import scala.util.Success
trait Error