pylon-core
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
pylon-core
pylon-core
/
io.github.pylonmc.pylon.core.config
/
ConfigSection
/
getOrThrow
get
Or
Throw
fun
<
T
>
getOrThrow
(
key
:
String
,
adapter
:
ConfigAdapter
<
T
>
)
:
T
(
source
)
Throws an error if the key does not exist or if the value cannot be converted to the desired type.