object Failed extends Serializable
- Source
- Outcome.scala
- Alphabetic
- By Inheritance
- Failed
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(message: String, cause: Throwable)(implicit pos: Position): Failed
Creates a
Failed
instance with the passed in message and cause.Creates a
Failed
instance with the passed in message and cause.- message
the message for the
TestFailedException
set as itsexception
field- cause
the cause for the
TestFailedException
set as itsexception
field- returns
An instance of
Failed
with aTestFailedException
created from passed inmessage
andcause
set as itsexception
field.
-
def
apply(message: String)(implicit pos: Position): Failed
Creates a
Failed
instance with the passed in message.Creates a
Failed
instance with the passed in message.- message
the message for the
TestFailedException
set as itsexception
field- returns
An instance of
Failed
with aTestFailedException
created from passed inmessage
set as itsexception
field.
-
def
apply()(implicit pos: Position): Failed
Creates a
Failed
instance, with aTestFailedException
set as itsexception
field.Creates a
Failed
instance, with aTestFailedException
set as itsexception
field.- returns
An instance of
Failed
with aTestFailedException
set as itsexception
field.
-
def
here(cause: Throwable)(implicit pos: Position): Failed
Creates a
Failed
with the passed in cause.Creates a
Failed
with the passed in cause.- cause
the passed in cause
- returns
A
Failed
withexception
field set to a newly createdTestFailedException
using the passed incause
.