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.

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() @HotSpotIntrinsicCandidate()
  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 flatMap[U](f: (T) => Result[U]): Result[U]
  12. def fold[U](failure: (NonEmptyChain[Problem]) => U, success: (T) => U, warning: (NonEmptyChain[Problem], T) => U, error: (Throwable) => U): U
  13. final def foldLeft[U](u: U)(f: (U, T) => U): U
  14. final def foldRight[U](lu: Eval[U])(f: (T, Eval[U]) => Eval[U]): Eval[U]
  15. final def forall(p: (T) => Boolean): Boolean
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def getOrElse[U >: T](ifNone: => U): U
  18. def hasProblems: Boolean
  19. def hasValue: Boolean
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isInternalError: Boolean
  23. def map[U](f: (T) => U): Result[U]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toEither: Either[Either[Throwable, NonEmptyChain[Problem]], T]
  29. def toOption: Option[T]
  30. def toProblems: Chain[Problem]
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def traverse[F[_], U](f: (T) => F[U])(implicit F: Applicative[F]): F[Result[U]]
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. def withProblems(problems: NonEmptyChain[Problem]): Result[T]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped