Packages

object Failed extends Serializable

Source
Outcome.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Failed
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. 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 its exception field

    cause

    the cause for the TestFailedException set as its exception field

    returns

    An instance of Failed with a TestFailedException created from passed in message and cause set as its exception field.

  2. 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 its exception field

    returns

    An instance of Failed with a TestFailedException created from passed in message set as its exception field.

  3. def apply()(implicit pos: Position): Failed

    Creates a Failed instance, with a TestFailedException set as its exception field.

    Creates a Failed instance, with a TestFailedException set as its exception field.

    returns

    An instance of Failed with a TestFailedException set as its exception field.

  4. 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 with exception field set to a newly created TestFailedException using the passed in cause.