rapture.core

Errata

case class Errata[T, E <: Exception](errors: Seq[(ClassTag[_], (String, Exception))]) extends Result[T, E] with Product with Serializable

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

Instance Constructors

  1. new Errata(errors: Seq[(ClassTag[_], (String, Exception))])

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
    Result
  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 errata[E2 >: E](implicit arg0: ClassTag[E2]): Seq[E2]

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

    Definition Classes
    ErrataResult
  12. def exceptions: Seq[Exception]

    Definition Classes
    Result
  13. 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
  14. 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
  15. def finalize(): Unit

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

    Definition Classes
    Result
  17. 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
  18. 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
  19. def get: T

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

    Definition Classes
    AnyRef → Any
  21. 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
  22. def isAnswer: Boolean

    Return true if this result is an Answer.

    Return true if this result is an Answer.

    Definition Classes
    Result
  23. def isErrata: Boolean

    Return true if this result contains errors.

    Return true if this result contains errors.

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

    Definition Classes
    Any
  25. def isUnforeseen: Boolean

    Return true if this result is Unforeseen.

    Return true if this result is Unforeseen.

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  33. 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
  34. 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
  35. 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
  36. def toString(): String

    Definition Classes
    Errata → AnyRef → Any
  37. val unforeseen: Option[Throwable]

    Definition Classes
    Result
  38. 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
  39. final def wait(): Unit

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

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

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

    Alias for filter

    Alias for filter

    Definition Classes
    Result
  43. 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 Result[T, E]

Inherited from AnyRef

Inherited from Any

Ungrouped