toggle menu
apollo-kdoc
4.1.1-SNAPSHOT
4.1.1-SNAPSHOT
3.8.2
common
switch theme
search in API
apollo-api
/
com.apollographql.apollo.api
/
FieldResult
Field
Result
sealed
interface
FieldResult
<
out
V
>
Inheritors
Success
Failure
Members
Members & Extensions
Types
Failure
Link copied to clipboard
class
Failure
(
val
exception
:
ApolloException
)
:
FieldResult
<
Nothing
>
Success
Link copied to clipboard
class
Success
<
V
>
(
val
value
:
V
)
:
FieldResult
<
V
>
Properties
is
Success
Link copied to clipboard
val
<
V
>
FieldResult
<
V
>
.
isSuccess
:
Boolean
Functions
exception
Or
Null
Link copied to clipboard
fun
<
V
>
FieldResult
<
V
>
.
exceptionOrNull
(
)
:
Exception
?
get
Or
Else
Link copied to clipboard
fun
<
V
>
FieldResult
<
V
>
.
getOrElse
(
fallback
:
V
)
:
V
get
Or
Null
Link copied to clipboard
fun
<
V
>
FieldResult
<
V
>
.
getOrNull
(
)
:
V
?
get
Or
Throw
Link copied to clipboard
fun
<
V
>
FieldResult
<
V
>
.
getOrThrow
(
)
:
V
graph
QLError
Or
Null
Link copied to clipboard
fun
<
V
>
FieldResult
<
V
>
.
graphQLErrorOrNull
(
)
:
Error
?