blob: 9f14912fec49dcd48f7c82a878cc1988c188f540 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package org.jetbrains.dokka.generation
import org.jetbrains.dokka.Timer
public interface Generation {
public fun Timer.generate()
public 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
public fun exitGenerationGracefully(reason: String): Nothing {
throw GracefulGenerationExit(reason)
}
public class GracefulGenerationExit(public val reason: String) : Throwable()
|