serverErrorsAsCacheMisses

fun <T> MutableExecutionOptions<T>.serverErrorsAsCacheMisses(serverErrorsAsCacheMisses: Boolean): T

Sets whether GraphQL errors in the cache should be treated as cache misses.

When true, if any field is an Error in the cache, the returned response will have a null data and a non-null exception of type com.apollographql.apollo.exception.ApolloGraphQLException.

Default: true