object Result
- Source
- Result.scala
- Alphabetic
- By Inheritance
- Result
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Exception(throwable: Throwable, outerStack: OuterStack) extends java.lang.Exception with Failing[Nothing] with Product with Serializable
An (mostly) unintentionally failed task which the exception that caused the failure.
An (mostly) unintentionally failed task which the exception that caused the failure.
- throwable
The exception that describes or caused the failure.
- outerStack
The OuterStack of the failed task.
- sealed trait Failing[+T] extends java.lang.Exception with Result[T]
A failed task execution.
A failed task execution.
- T
The result type of the computed task.
- case class Failure[T](msg: String, value: Option[T] = None) extends java.lang.Exception with Failing[T] with Product with Serializable
An intentional failure, which provides a proper error message as well as an optional result value.
An intentional failure, which provides a proper error message as well as an optional result value.
- T
The result type of the computed task.
- msg
The error message.
- value
The optional result value.
- class OuterStack extends AnyRef
- case class Success[+T](value: T) extends Result[T] with Product with Serializable
A successful task execution.
A successful task execution.
- T
The result type of the computed task.
- value
The value computed by the task.
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def catchWrapException[T](t: => T): Either[String, T]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- implicit def create[T](t: => T): Result[T]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeResultException(e: Throwable, base: java.lang.Exception): Left[String, Nothing]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object Aborted extends Result[Nothing] with Product with Serializable
A task execution was skipped/aborted because of earlier (maybe unrelated) tasks failed and the evaluation was in fail-fast mode.
- case object Skipped extends Result[Nothing] with Product with Serializable
A task execution was skipped because of failures in its dependencies.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)