Failure
mill.api.ExecResult.Failure
@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 */")
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
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Failing[T]trait ExecResult[T]class Objecttrait Matchableclass Any
Members list
In this article