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

com.pinterest.ktlint.rule.engine.api.KtLintRuleException.kt Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
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