Failure

ammonite.util.Res.Failure
case class Failure(msg: String) extends Failing

A known failure occurred, maybe caused by an exception (e.g. ThreadDeath) and maybe not (e.g. compile error)

Value parameters

msg

the message we want to display on screen due to this failure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Failing
class Res[Nothing]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def filter(f: Nothing => Boolean): Res[Nothing]

Attributes

Inherited from:
Res
def flatMap[V](f: Nothing => Res[V]): Res[V]

Attributes

Inherited from:
Failing
final def isSuccess: Boolean

Attributes

Inherited from:
Res
def map[V](f: Nothing => V): Res[V]

Attributes

Inherited from:
Failing
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def withFilter(f: Nothing => Boolean): Res[Nothing]

Attributes

Inherited from:
Res