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
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Result
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ===[TT >: T](that: Result[TT])(implicit TT: Eq[TT]): Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def combine[U >: T](that: Result[U])(implicit S: Semigroup[U]): Result[U]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def exists(p: (T) => Boolean): Boolean
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flatMap[U](f: (T) => Result[U]): Result[U]
- def fold[U](failure: (NonEmptyChain[Problem]) => U, success: (T) => U, warning: (NonEmptyChain[Problem], T) => U, error: (Throwable) => U): U
- final def foldLeft[U](u: U)(f: (U, T) => U): U
- final def foldRight[U](lu: Eval[U])(f: (T, Eval[U]) => Eval[U]): Eval[U]
- final def forall(p: (T) => Boolean): Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrElse[U >: T](ifNone: => U): U
- def hasProblems: Boolean
- def hasValue: Boolean
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInternalError: Boolean
- def map[U](f: (T) => U): Result[U]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toEither: Either[Either[Throwable, NonEmptyChain[Problem]], T]
- def toOption: Option[T]
- def toProblems: Chain[Problem]
- def toString(): String
- Definition Classes
- AnyRef → Any
- def traverse[F[_], U](f: (T) => F[U])(implicit F: Applicative[F]): F[Result[U]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withProblems(problems: NonEmptyChain[Problem]): Result[T]