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

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

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