Trait

org.scalatest.exceptions

TimeoutField

Related Doc: package exceptions

Permalink

trait TimeoutField extends AnyRef

Trait mixed into exceptions thrown due to a timeout, which offers a timeout field providing a Span representing the timeout that expired.

This trait is used by trait TimeLimitedTests to detect exceptions thrown because of timeouts, and for such exceptions, to modify the message to more clearly indicate a test timed out. (Although in its initial release there is only one subclass of TimeoutField in ScalaTest, TestFailedDueToTimeoutException, in future version of ScalaTest, there could be more)

Self Type
TimeoutField with Throwable
Source
TimeoutField.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TimeoutField
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val timeout: Span

    Permalink

    The timeout that expired causing this Timeout exception.

    The timeout that expired causing this Timeout exception.