toggle menu
BotCommands
JVM
switch theme
search in API
BotCommands
/
io.github.freya022.botcommands.api.core.service
/
ServiceResult
/
getOrThrow
get
Or
Throw
fun
getOrThrow
(
)
:
T
(
source
)
fun
getOrThrow
(
block
:
(
error
:
ServiceError
)
->
Nothing
)
:
T
(
source
)