mill.api.daemon.Result.Failure
See theFailure companion class
object Failure
Attributes
- Companion
- class
- Source
- Result.scala
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Failure.type
Members list
Type members
Classlikes
Attributes
- Source
- Result.scala
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements.
The name of the type.
Value members
Concrete methods
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
Attributes
- Source
- Result.scala
Attributes
- Source
- Result.scala
In this article