ktor-server-core / io.ktor.application / MissingApplicationFeatureException

MissingApplicationFeatureException

class MissingApplicationFeatureException : IllegalStateException, CopyableThrowable<MissingApplicationFeatureException>

Thrown when Application Feature has been attempted to be accessed but has not been installed before

Parameters

key - application feature's attribute key

Constructors

<init>

MissingApplicationFeatureException(key: AttributeKey<*>)

Thrown when Application Feature has been attempted to be accessed but has not been installed before

Properties

key

val key: AttributeKey<*>

application feature's attribute key

message

val message: String

Functions

createCopy

fun createCopy(): MissingApplicationFeatureException?