com.pinterest.ktlint.rule.engine.api.KtLintParseException.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktlint-rule-engine Show documentation
Show all versions of ktlint-rule-engine Show documentation
An anti-bikeshedding Kotlin linter with built-in formatter.
package com.pinterest.ktlint.rule.engine.api
/**
* [KtLintParseException] is thrown whenever the kotlin code which is to be scanned contains a parsing error. Ensure
* that the code which is to be scanned, does not contain compilation errors.
*
* @param line line number (one-based)
* @param col column number (one-based)
* @param message message
*/
public class KtLintParseException(
public val line: Int,
public val col: Int,
message: String,
) : RuntimeException("$line:$col $message")
© 2015 - 2024 Weber Informatics LLC | Privacy Policy