toggle menu
apollo-kotlin-execution
0.0.4-SNAPSHOT
common
switch theme
search in API
apollo-execution-runtime
/
com.apollographql.execution
/
GraphQLResult
Graph
QLResult
sealed
interface
GraphQLResult
<
out
T
>
Inheritors
GraphQLSuccess
GraphQLError
Members
Members & Extensions
Properties
is
Failure
Link copied to clipboard
open
val
isFailure
:
Boolean
is
Success
Link copied to clipboard
open
val
isSuccess
:
Boolean
Functions
exception
Or
Null
Link copied to clipboard
open
fun
exceptionOrNull
(
)
:
<Error class: unknown class>
?
flat
Map
Link copied to clipboard
fun
<
T
,
R
>
GraphQLResult
<
T
>
.
flatMap
(
block
:
(
T
)
->
GraphQLResult
<
R
>
)
:
GraphQLResult
<
R
>
fold
Link copied to clipboard
open
fun
<
R
>
fold
(
onSuccess
:
(
value
:
T
)
->
R
,
onFailure
:
(
exception
:
Throwable
)
->
R
)
:
R
get
Or
Throw
Link copied to clipboard
open
fun
getOrThrow
(
)
:
T