Exception

mill.api.ExecResult.Exception
@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.

Value parameters

outerStack

The OuterStack of the failed task.

throwable

The exception that describes or caused the failure.

Attributes

Source
ExecResult.scala
Graph
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

Members list

Value members

Concrete methods

def flatMap[V](f: Nothing => ExecResult[V]): Exception

Attributes

Source
ExecResult.scala
def map[V](f: Nothing => V): Exception

Attributes

Source
ExecResult.scala
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Throwable -> Any
Source
ExecResult.scala

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
override def asFailing: Option[Failing[Nothing]]

Attributes

Definition Classes
Inherited from:
Failing
Source
ExecResult.scala
def asSuccess: Option[Success[Nothing]]

Attributes

Inherited from:
ExecResult
Source
ExecResult.scala
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def get: Nothing

Attributes

Inherited from:
ExecResult
Source
ExecResult.scala
def getCause(): Throwable

Attributes

Inherited from:
Throwable
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
def getMessage(): String

Attributes

Inherited from:
Throwable
def getStackTrace(): Array[StackTraceElement]

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintWriter): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(): Unit

Attributes

Inherited from:
Throwable
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable
def throwException: Nothing

Attributes

Inherited from:
Failing
Source
ExecResult.scala