mill.api.daemon.Result.Failure
See theFailure companion object
final case class Failure(error: String, path: Path = ..., index: Int = ..., exception: Seq[ExceptionInfo] = ..., tickerPrefix: String = ..., next: Option[Failure] = ...) extends Result[Nothing]
Models the kind of error reporting supported by Mill's terminal UI. Apart from the simple error: String, also supports file position and exception stack trace metadata to provide richer error diagnostics, and can be chained together via Failure.join to return multiple failures at once.
Attributes
- Companion
- object
- Source
- Result.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalstrait Result[Nothing]class Objecttrait Matchableclass Any
Members list
In this article