Failed

data class Failed<T : Any>(val config: T, val error: Throwable) : ReloadResult<T> (source)

The reload failed and the last good config was kept. error is a io.github.fiol_dev.konstant.core.ConfigException for invalid values, or whatever a source threw (a missing file, say).

Constructors

Link copied to clipboard
constructor(config: T, error: Throwable)

Properties

Link copied to clipboard
open override val config: T

The config that is current after the reload.

Link copied to clipboard