HasStackTrace

org.specs2.control.HasStackTrace

This trait describes something which has a stackTrace with:

  • a list of stacktrace element

This is used to provide a common interface to execute.Failure and execute.Error

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def location: String

Attributes

Returns:

the location of the first element of the stacktrace

def stackTrace: List[StackTraceElement]