ExecResult

mill.api.ExecResult
See theExecResult companion trait
object ExecResult

Attributes

Companion
trait
Source
ExecResult.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
ExecResult.type

Members list

Type members

Classlikes

@Scaladoc(value = "/**\n * A task execution was skipped/aborted because of earlier (maybe unrelated) tasks failed and the evaluation was in fail-fast mode.\n */")
case object Aborted extends ExecResult[Nothing]

A task execution was skipped/aborted because of earlier (maybe unrelated) tasks failed and the evaluation was in fail-fast mode.

A task execution was skipped/aborted because of earlier (maybe unrelated) tasks failed and the evaluation was in fail-fast mode.

Attributes

Source
ExecResult.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ExecResult[Nothing]
class Object
trait Matchable
class Any
Show all
Self type
Aborted.type
@Scaladoc(value = "/**\n * An (mostly) unintentionally failed task which the exception that caused the failure.\n * @param throwable The exception that describes or caused the failure.\n * @param outerStack The [[OuterStack]] of the failed task.\n */")
case class Exception(throwable: Throwable, outerStack: OuterStack) extends Exception, Failing[Nothing]

An (mostly) unintentionally failed task which the exception that caused the failure.

An (mostly) unintentionally failed task which the exception that caused the failure.

Value parameters

outerStack

The OuterStack of the failed task.

throwable

The exception that describes or caused the failure.

Attributes

Source
ExecResult.scala
Supertypes
trait Product
trait Equals
trait Failing[Nothing]
trait ExecResult[Nothing]
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
@Scaladoc(value = "/**\n * A failed task execution.\n * @tparam T The result type of the computed task.\n */")
sealed trait Failing[+T] extends ExecResult[T]

A failed task execution.

A failed task execution.

Type parameters

T

The result type of the computed task.

Attributes

Source
ExecResult.scala
Supertypes
trait ExecResult[T]
class Object
trait Matchable
class Any
Known subtypes
class Exception
class Failure[T]
@Scaladoc(value = "/**\n * An intentional failure, which provides a proper error message as well as an optional result value.\n * @param msg The error message.\n * @param value The optional result value.\n * @tparam T The result type of the computed task.\n */")
case class Failure[T](msg: String) extends Failing[T]

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.

Type parameters

T

The result type of the computed task.

Value parameters

msg

The error message.

value

The optional result value.

Attributes

Source
ExecResult.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Failing[T]
trait ExecResult[T]
class Object
trait Matchable
class Any
Show all
class OuterStack(val value: Seq[StackTraceElement])

Attributes

Source
ExecResult.scala
Supertypes
class Object
trait Matchable
class Any
@Scaladoc(value = "/**\n * A task execution was skipped because of failures in its dependencies.\n */")
case object Skipped extends ExecResult[Nothing]

A task execution was skipped because of failures in its dependencies.

A task execution was skipped because of failures in its dependencies.

Attributes

Source
ExecResult.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ExecResult[Nothing]
class Object
trait Matchable
class Any
Show all
Self type
Skipped.type
@Scaladoc(value = "/**\n * A successful task execution.\n * @param value The value computed by the task.\n * @tparam T The result type of the computed task.\n */")
case class Success[+T](value: T) extends ExecResult[T]

A successful task execution.

A successful task execution.

Type parameters

T

The result type of the computed task.

Value parameters

value

The value computed by the task.

Attributes

Source
ExecResult.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ExecResult[T]
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def catchWrapException[T](t: => T): Result[T]

Attributes

Source
ExecResult.scala
def makeResultException(e: Throwable, base: Exception): Left[String, Nothing]

Attributes

Source
ExecResult.scala

Implicits

Implicits

implicit def create[T](t: => T): ExecResult[T]

Attributes

Source
ExecResult.scala