Failure

mill.api.daemon.Result.Failure
See theFailure companion class
object Failure

Attributes

Companion
class
Source
Result.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Failure.type

Members list

Type members

Classlikes

case class ExceptionInfo(clsName: String, msg: String, stack: Seq[StackTraceElement])

Attributes

Source
Result.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
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 fromException(ex: Throwable, outerStackLength: Int = ...): Failure

Creates a Failure from an exception, handling cause chains properly. If the exception is a Result.Exception with an existing failure, that failure is preserved.

Creates a Failure from an exception, handling cause chains properly. If the exception is a Result.Exception with an existing failure, that failure is preserved.

Value parameters

ex

the exception to convert

outerStackLength

optional length of outer stack frames to drop from stack traces

Attributes

Source
Result.scala
def join(failures: Seq[Failure]): Failure

Attributes

Source
Result.scala
def split(f: Failure): Iterator[Failure]

Attributes

Source
Result.scala