com.pinterest.ktlint.rule.engine.api.KtLintRuleException.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
/**
* [KtLintRuleException] is thrown whenever an error occurs during execution of a KtLint [Rule].
*
* @param line line number (one-based)
* @param col column number (one-based)
* @param ruleId rule id (prepended with "<ruleSetId>:" in case of non-standard ruleset)
* @param message description or error
*/
public class KtLintRuleException(
public val line: Int,
public val col: Int,
public val ruleId: String,
override val message: String,
override val cause: Throwable,
) : RuntimeException(message, cause)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy