Failure
case class Failure(m: String, e: String, trace: List[StackTraceElement], details: Details) extends Result with ResultStackTrace
This class represents the failure of an execution. It has a message and a stacktrace
trait Serializable
trait Product
trait Equals
trait ResultStackTrace
trait HasStackTrace
class Result
class Object
trait Matchable
class Any
Value members
Concrete methods
Inherited methods
- Returns:
the location (file and line number) of the topmost stackTraceElement
- Inherited from:
- ResultStackTrace
- Returns:
the negation of this result where a success becomes a failure and vice-versa
- Inherited from:
- Result
prepend another message and a conjunction depending on the status of this result
prepend another message and a conjunction depending on the status of this result
- Inherited from:
- Result
set the message of a result, keeping the subclass type
set the message of a result, keeping the subclass type
- Inherited from:
- Result
update the expected of a result, keeping the subclass type
update the expected of a result, keeping the subclass type
- Inherited from:
- Result