toggle menu
lib
common
switch theme
search in API
shared
/
com.apadmi.mockzilla.mock
/
DataResult
/
Failure
Failure
data
class
Failure
<
E
>
(
val
error
:
E
)
:
DataResult
<
Nothing
,
E
>
Members
Constructors
Failure
Link copied to clipboard
constructor
(
error
:
E
)
Properties
error
Link copied to clipboard
val
error
:
E
Functions
data
Or
Null
Link copied to clipboard
fun
dataOrNull
(
)
:
Nothing
?
error
Or
Null
Link copied to clipboard
fun
errorOrNull
(
)
:
E
?
is
Success
Link copied to clipboard
fun
isSuccess
(
)
:
Boolean