You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Apollo/ApolloErrorInterceptor.swift
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@ public protocol ApolloErrorInterceptor {
9
9
/// - error: The received error
10
10
/// - chain: The chain the error was received on
11
11
/// - request: The request, as far as it was constructed
12
-
/// - response: The response, as far as it was constructed
12
+
/// - response: [optional] The response, if one was received
13
13
/// - completion: The completion closure to fire when the operation has completed. Note that if you call `retry` on the chain, you will not want to call the completion block in this method.
/// - response: [optional] The `HTTPURLResponse` received from the server. Will be nil if not yet received or if the response received was not an `HTTPURLResponse`.
13
-
/// - rawData: [optional] The raw, unparsed data received from the server. Will be nil if not yet received or if data received from the server was nil.
14
-
/// - parsedResponse: [optional] The response parsed into the `ParsedValue` type. Will be nil if not yet received, not yet parsed, or if parsing failed.
15
-
publicinit(response:HTTPURLResponse?,
12
+
/// - response: The `HTTPURLResponse` received from the server.
13
+
/// - rawData: [optional] The raw, unparsed data received from the server. Will be nil if data received from the server was nil.
14
+
/// - parsedResponse: [optional] The response parsed into the `ParsedValue` type. Will be nil if not yet parsed, or if parsing failed.
0 commit comments