TimeoutField
org.scalatest.exceptions.TimeoutField
trait TimeoutField
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)
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
- Self type
-
Throwable
Members list
In this article