Object

com.iheart.happy.path

FutureEither

Related Doc: package path

Permalink

object FutureEither extends FutureEitherFunctions with Serializable

Linear Supertypes
Serializable, Serializable, FutureEitherFunctions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FutureEither
  2. Serializable
  3. Serializable
  4. FutureEitherFunctions
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class RegularReasonToException[T] extends Exception with Product with Serializable

    Permalink
    Definition Classes
    FutureEitherFunctions
  2. final case class ValidationException extends Exception with Product with Serializable

    Permalink
    Definition Classes
    FutureEitherFunctions

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def apply[T](fe: Future[Either[Reason, T]]): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def left[T](reason: Reason): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def ofBoolean[T](boolean: Boolean, v: T, reasonForFalse: String): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  18. def ofEither[L, T](either: Either[L, T], leftMap: (L) ⇒ Reason): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  19. def ofFuture[T](f: ⇒ Future[T]): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  20. def ofFutureBoolean[T](boolean: Future[Boolean], v: T, reasonForFalse: String): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  21. def ofFutureEither[L, T](f: Future[Either[L, T]], leftMap: (L) ⇒ Reason): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  22. def ofFutureOption[T](f: Future[Option[T]]): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  23. def ofFutureOptional[T](f: Future[Option[T]], reason: ⇒ Reason = OptionalItemNotFound(None)): FutureEither[T]

    Permalink

    Use this when you want the None to propagate as None all the way back to the client instead of returning an error

    Use this when you want the None to propagate as None all the way back to the client instead of returning an error

    Definition Classes
    FutureEitherFunctions
  24. def ofFutureTry[T](f: Future[Try[T]]): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  25. def ofOption[T](o: Option[T]): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  26. def ofOptional[T](o: Option[T], reason: ⇒ Reason = OptionalItemNotFound(None)): FutureEither[T]

    Permalink

    Use this when you want the None to propagate as None all the way back to the client instead of returning an error

    Use this when you want the None to propagate as None all the way back to the client instead of returning an error

    Definition Classes
    FutureEitherFunctions
  27. def ofTry[T](t: Try[T]): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  28. def ofValidated[E, T](validated: Validated[NonEmptyList[E], T]): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  29. def right[T](t: T): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. lazy val unit: FutureEither[Unit]

    Permalink
    Definition Classes
    FutureEitherFunctions
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def wrapWithTry[T](t: ⇒ T): FutureEither[T]

    Permalink

    Doesn't execute in Future thread, only wrap in Future.successful.

    Doesn't execute in Future thread, only wrap in Future.successful. For IO blocking operations, use BlockingIO

    Definition Classes
    FutureEitherFunctions

Deprecated Value Members

  1. def ofEither[L, T](either: Either[L, T]): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.4) This one generates a RegularReason on the left side. Use the ofEither[L, T](either: Either[L, T], leftMap: L => Reason) instead.

  2. def ofFutureEither[L, T](f: Future[Either[L, T]]): FutureEither[T]

    Permalink
    Definition Classes
    FutureEitherFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.4) This one generates a RegularReason on the left side. Use the ofFutureEither[L, T](f: Future[Either[L, T]], leftMap: L => Reason) instead.

Inherited from Serializable

Inherited from Serializable

Inherited from FutureEitherFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped