application.ExceptionReport.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of specmatic-executable Show documentation
Show all versions of specmatic-executable Show documentation
Command-line standalone executable jar for Specmatic
package application
import `in`.specmatic.core.utilities.exceptionCauseMessage
class ExceptionReport(private val e: Throwable) : CompatibilityReport {
override fun message(): String {
return "Error: " + exceptionCauseMessage(e)
}
override val exitCode: Int = 1
}