Skip to content

Commit

Permalink
Update libraries/apollo-api/src/commonMain/kotlin/com/apollographql/a…
Browse files Browse the repository at this point in the history
…pollo3/api/ApolloResponse.kt

Co-authored-by: Martin Bonnin <[email protected]>
  • Loading branch information
BoD and martinbonnin committed Feb 14, 2023
1 parent 9dd958f commit e5fb47e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ private constructor(
val errors: List<Error>?,

/**
* The exception that caused the failure of the execution.
* For instance this will be non null in case of network failure or cache miss.
* This will be null if the execution was successful.
* If this is non null, [data] and [errors] will be null.
* An [ApolloException] if a valid GraphQL response wasn't received or `null` if a valid GraphQL response was received.
* For example, `exception` is non null if there is a network failure or cache miss.
* If `exception` is non null, [data] and [errors] will be null.
*/
@JvmField
val exception: ApolloException?,
Expand Down

0 comments on commit e5fb47e

Please sign in to comment.