ExpoFP
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
ExpoFP
ExpoFP
/
com.expofp.fplan.api.app.model
/
ExpoFpResult
/
Failure
Failure
data
class
Failure
(
val
error
:
ExpoFpError
)
:
ExpoFpResult
<
Nothing
>
Members
Members & Extensions
Constructors
Failure
Link copied to clipboard
constructor
(
error
:
ExpoFpError
)
Properties
error
Link copied to clipboard
val
error
:
ExpoFpError
is
Failure
Link copied to clipboard
val
isFailure
:
Boolean
is
Success
Link copied to clipboard
val
isSuccess
:
Boolean
Functions
error
Or
Null
Link copied to clipboard
fun
errorOrNull
(
)
:
ExpoFpError
?
get
Or
Null
Link copied to clipboard
fun
getOrNull
(
)
:
Nothing
?
map
Link copied to clipboard
inline
fun
<
T
,
R
>
ExpoFpResult
<
T
>
.
map
(
transform
:
(
T
)
->
R
)
:
ExpoFpResult
<
R
>
on
Failure
Link copied to clipboard
inline
fun
<
T
>
ExpoFpResult
<
T
>
.
onFailure
(
action
:
(
ExpoFpError
)
->
Unit
)
:
ExpoFpResult
<
T
>
on
Success
Link copied to clipboard
inline
fun
<
T
>
ExpoFpResult
<
T
>
.
onSuccess
(
action
:
(
T
)
->
Unit
)
:
ExpoFpResult
<
T
>