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

application.IncompatibleReport.kt Maven / Gradle / Ivy

There is a newer version: 1.3.39
Show newest version
package application

import `in`.specmatic.core.PATH_NOT_RECOGNIZED_ERROR
import `in`.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