Skip to content

Commit a79b70b

Browse files
committed
the interceptor chain may also throw Throwable
1 parent dffef43 commit a79b70b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • libraries/apollo-runtime/src/commonMain/kotlin/com/apollographql/apollo/network/http

libraries/apollo-runtime/src/commonMain/kotlin/com/apollographql/apollo/network/http/HttpInterceptor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface HttpInterceptorChain {
1111
/**
1212
* Continues with the request and call all downstream interceptors.
1313
*/
14-
@Throws(ApolloException::class, CancellationException::class)
14+
@Throws(Throwable::class)
1515
suspend fun proceed(request: HttpRequest): HttpResponse
1616
}
1717

0 commit comments

Comments
 (0)