Fail

mill.define.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

@Scaladoc(value = "/**\n * Fail this task with a message.\n * This is a convenient alternative to returning [[Result.Failure]]\n * which also requires the happy path to return [[Result.Success]].\n */")
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