Fail

mill.api.TaskCtx.Fail
trait Fail

Attributes

Source
TaskCtx.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait TaskCtx

Members list

Value members

Abstract methods

def fail(msg: String): Nothing

Fail this task with a message. This is a convenient alternative to returning Result.Failure which also requires the happy path to return Result.Success.

Fail this task with a message. This is a convenient alternative to returning Result.Failure which also requires the happy path to return Result.Success.

Attributes

Source
TaskCtx.scala