rapture.core

Answer

case class Answer[T, E <: Exception](answer: T) extends Resolved[T, E] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Resolved[T, E], Result[T, E], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Answer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Resolved
  7. Result
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Answer(answer: T)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val answer: T

    Definition Classes
    AnswerResult
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  10. def equals(that: Any): Boolean

    Definition Classes
    Resolved → AnyRef → Any
  11. def errata[E2 >: E](implicit arg0: ClassTag[E2]): Seq[E2]

    Definition Classes
    Result
  12. val errors: Seq[(ClassTag[_], (String, Exception))]

    Definition Classes
    Result
  13. def exceptions: Seq[Exception]

    Definition Classes
    Result
  14. def exists(p: (T) ⇒ Boolean): Boolean

    Return true if this result is an answer satisfying the given predicate.

    Return true if this result is an answer satisfying the given predicate.

    Definition Classes
    Result
  15. def filter(p: (T) ⇒ Boolean): Result[T, E with NotMatchingFilter]

    Filter on the answer of this result.

    Filter on the answer of this result.

    Definition Classes
    Result
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def flatMap[T2, E2 <: Exception](fn: (T) ⇒ Result[T2, E2]): Result[T2, E with E2]

    Definition Classes
    Result
  18. def fold[X](l: (T) ⇒ X, r: (Seq[(ClassTag[_], (String, Exception))]) ⇒ X): X

    Catamorphism.

    Catamorphism. Run the first given function if answer, otherwise, the second given function over the errata.

    Definition Classes
    Result
  19. def forall(p: (T) ⇒ Boolean): Boolean

    Return true if this result is an errata or the answer satisfies the given predicate.

    Return true if this result is an errata or the answer satisfies the given predicate.

    Definition Classes
    Result
  20. def get: T

    Definition Classes
    Result
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def getOrElse[T2 >: T](x: ⇒ T2): T2

    Return the answer of this result or the given default if errata.

    Return the answer of this result or the given default if errata. Alias for |

    Definition Classes
    Result
  23. def hashCode(): Int

    Definition Classes
    Resolved → AnyRef → Any
  24. def isAnswer: Boolean

    Return true if this result is an Answer.

    Return true if this result is an Answer.

    Definition Classes
    Result
  25. def isErrata: Boolean

    Return true if this result contains errors.

    Return true if this result contains errors.

    Definition Classes
    Result
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isUnforeseen: Boolean

    Return true if this result is Unforeseen.

    Return true if this result is Unforeseen.

    Definition Classes
    Result
  28. def map[T2](fn: (T) ⇒ T2): Product with Serializable with Result[T2, E]

    Definition Classes
    Result
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def reconcile[E2, E3 <: Exception](handlers: Each[E2, E3]*): Seq[E3]

    Definition Classes
    Result
  33. def resolve[E2, T2 >: T](handlers: Each[E2, T2]*)(implicit ev: <:<[E2, E]): Resolved[T2, Nothing]

    Definition Classes
    Result
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, T, Col[T]]): Col[T]

    Return a collection containing -- if the result was successful -- the answer.

    Return a collection containing -- if the result was successful -- the answer.

    Definition Classes
    Result
  36. def toEither: Either[Seq[(ClassTag[_], (String, Exception))], T]

    Convert to a core scala.Either at your own peril.

    Convert to a core scala.Either at your own peril. blows up if an unforeseen exception is found

    Definition Classes
    Result
  37. def toOption: Option[T]

    Return None or a Some of the answer.

    Return None or a Some of the answer. Useful to sweep errors under the carpet.

    Definition Classes
    Result
  38. val unforeseen: Option[Throwable]

    Definition Classes
    Result
  39. def valueOr[T2 >: T](x: (Seq[(ClassTag[_], (String, Exception))]) ⇒ T2): T2

    Return the answer of this result or run the given function on the errata.

    Return the answer of this result or run the given function on the errata.

    Definition Classes
    Result
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def withFilter(p: (T) ⇒ Boolean): Result[T, E with NotMatchingFilter]

    Alias for filter

    Alias for filter

    Definition Classes
    Result
  44. def |[T2 >: T](x: ⇒ T2): T2

    Return the answer value of this result or the given default if errata.

    Return the answer value of this result or the given default if errata. Alias for getOrElse

    Definition Classes
    Result

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Resolved[T, E]

Inherited from Result[T, E]

Inherited from AnyRef

Inherited from Any

Ungrouped