sealed trait Result[+T] extends AnyRef

A result value.

A result of type T, a non-empty collection of errors encoded as Json, or both.

Source
result.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Result
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def ===[TT >: T](that: Result[TT])(implicit TT: Eq[TT]): Boolean
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def combine[U >: T](that: Result[U])(implicit S: Semigroup[U]): Result[U]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def exists(p: (T) => Boolean): Boolean
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. def flatMap[U](f: (T) => Result[U]): Result[U]
  13. def fold[U](failure: (NonEmptyChain[Problem]) => U, success: (T) => U, warning: (NonEmptyChain[Problem], T) => U, error: (Throwable) => U): U
  14. final def foldLeft[U](u: U)(f: (U, T) => U): U
  15. final def foldRight[U](lu: Eval[U])(f: (T, Eval[U]) => Eval[U]): Eval[U]
  16. final def forall(p: (T) => Boolean): Boolean
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getOrElse[U >: T](ifNone: => U): U
  19. def hasProblems: Boolean
  20. def hasValue: Boolean
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isInternalError: Boolean
  24. def map[U](f: (T) => U): Result[U]
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toEither: Either[Either[Throwable, NonEmptyChain[Problem]], T]
  30. def toOption: Option[T]
  31. def toProblems: Chain[Problem]
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def traverse[F[_], U](f: (T) => F[U])(implicit F: Applicative[F]): F[Result[U]]
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. def withProblems(problems: NonEmptyChain[Problem]): Result[T]

Inherited from AnyRef

Inherited from Any

Ungrouped