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)
Trait mixed into exceptions thrown due to a timeout, which offers a
timeout
field providing aSpan
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 ofTimeoutField
in ScalaTest,TestFailedDueToTimeoutException
, in future version of ScalaTest, there could be more)