Docs: Nightly
0.6.0 · Released
Nightly · Development
Development ·
bffad322
Compukters
Toggle table of contents
0.7.0
Compukters
Target filter
Compukters
Switch theme
Search in API
Skip to content
Compukters
Compukters Core
/
compukter.commands
/
CommandResult
Command
Result
class
CommandResult
<
T
>
(
source
)
Members
Properties
is
Failure
Link copied to clipboard
val
isFailure
:
Boolean
is
Success
Link copied to clipboard
val
isSuccess
:
Boolean
Functions
exception
Or
Null
Link copied to clipboard
fun
exceptionOrNull
(
)
:
CommandException
?
get
Or
Null
Link copied to clipboard
fun
getOrNull
(
)
:
T
?
get
Or
Throw
Link copied to clipboard
fun
getOrThrow
(
)
:
T
Repeated calls return the same result or throw the same stored exception object.