All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.specs2.control.HasStackTrace.scala Maven / Gradle / Ivy

There is a newer version: 4.10.6
Show newest version
package org.specs2
package control

/** 
 * 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
 */
trait HasStackTrace {
  def stackTrace: List[StackTraceElement]

  /** @return the location of the first element of the stacktrace */
  def location: String
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy