ktor-server-core / io.ktor.sessions / SessionNotYetConfiguredException

SessionNotYetConfiguredException

class SessionNotYetConfiguredException : IllegalStateException

This exception is thrown when a session is asked too early before the Sessions feature had chance to configure it. For example, in a phase before ApplicationCallPipeline.Features or in a feature installed before Sessions into the same phase.

Constructors

<init>

SessionNotYetConfiguredException()

This exception is thrown when a session is asked too early before the Sessions feature had chance to configure it. For example, in a phase before ApplicationCallPipeline.Features or in a feature installed before Sessions into the same phase.