BetterModel
Toggle table of contents
1.7.1-SNAPSHOT-196
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.util
/
HttpUtil
/
Result
Result
interface
Result
<
T
>
http result
Parameters
<T>
type
Inheritors
Success
Failure
Members
Types
Failure
Link copied to clipboard
class
Failure
<
T
>
:
Record
,
HttpUtil.Result
<
T
>
Failure
Success
Link copied to clipboard
class
Success
<
T
>
:
Record
,
HttpUtil.Result
<
T
>
Success
Functions
or
Else
Link copied to clipboard
@
NotNull
open
fun
orElse
(
@
NotNull
function
:
@
NotNull
(
Exception
)
->
T
)
:
@
NotNull
T
Gets the value or handle exception