blob: 230cdae174e8903bf4f1f9aed7b4b3780f05c31d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package org.jetbrains.dokka.generation
import org.jetbrains.dokka.Timer
interface Generation {
fun Timer.generate()
val generationName: String
}
// This needs to be public for now but in the future it should be replaced with system of checks provided by EP
fun exitGenerationGracefully(reason: String): Nothing {
throw GracefulGenerationExit(reason)
}
class GracefulGenerationExit(val reason: String) : Throwable()
|