![JAR search and dependency download from the Maven repository](/logo.png)
org.partiql.lang.errors.Problem.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of partiql-lang-kotlin Show documentation
Show all versions of partiql-lang-kotlin Show documentation
An implementation of PartiQL for the JVM written in Kotlin.
package org.partiql.lang.errors
import org.partiql.lang.ast.SourceLocationMeta
/**
* In general, a [Problem] is a semantic error or warning encountered during compilation of a query.
*
* @param sourceLocation stores the location (line and column) in the query the problem occurred
* @param details details related to the problem's severity and a human-readable message
*/
data class Problem(val sourceLocation: SourceLocationMeta, val details: ProblemDetails) {
override fun toString(): String =
"$sourceLocation: ${details.message}"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy