application.IncompatibleReport.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 io.specmatic.core.PATH_NOT_RECOGNIZED_ERROR
import io.specmatic.core.Results
data class IncompatibleReport(val results: Results, val message: String = "The newer contract is not backward compatible.") : CompatibilityReport {
override fun message(): String {
return results.distinctReport(PATH_NOT_RECOGNIZED_ERROR) + System.lineSeparator() + System.lineSeparator() + message
}
override val exitCode: Int = 1
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy