Class/Object

rapture.core

Errata

Related Docs: object Errata | package core

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

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. val answer: T

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

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

    Permalink
    Definition Classes
    ErrataResult
  10. def exceptions: Seq[Exception]

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

    Permalink

    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
  12. def filter(p: (T) ⇒ Boolean): Result[T, E with NotMatchingFilter]

    Permalink

    Filter on the answer of this result.

    Filter on the answer of this result.

    Definition Classes
    Result
  13. def finalize(): Unit

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

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

    Permalink

    Catamorphism.

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

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

    Permalink

    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
  17. def get: T

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

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

    Permalink

    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
  20. def isAnswer: Boolean

    Permalink

    Return true if this result is an Answer.

    Return true if this result is an Answer.

    Definition Classes
    Result
  21. def isErrata: Boolean

    Permalink

    Return true if this result contains errors.

    Return true if this result contains errors.

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

    Permalink
    Definition Classes
    Any
  23. def isUnforeseen: Boolean

    Permalink

    Return true if this result is Unforeseen.

    Return true if this result is Unforeseen.

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

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

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

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

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

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

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

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

    Permalink

    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
  32. def toEither: Either[Seq[(ClassTag[_], (String, Exception))], T]

    Permalink

    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
  33. def toOption: Option[T]

    Permalink

    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
  34. def toString(): String

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

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

    Permalink

    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
  37. final def wait(): Unit

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

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

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

    Permalink

    Alias for filter

    Alias for filter

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

    Permalink

    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