io.javalin.community.routing.dsl.DslException.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of routing-dsl Show documentation
Show all versions of routing-dsl Show documentation
Module provides set of DSLs for building routing in Javalin application
package io.javalin.community.routing.dsl
import kotlin.reflect.KClass
/* Exception handlers */
typealias DslExceptionHandler = CONTEXT.(exception: EXCEPTION) -> RESPONSE
interface DslException {
val type: KClass
val handler: DslExceptionHandler
}
open class DefaultDslException (
override val type: KClass,
override val handler: DslExceptionHandler
) : DslException
© 2015 - 2025 Weber Informatics LLC | Privacy Policy