GraphQLHTTPResponseError
public struct GraphQLHTTPResponseError : Error, LocalizedError
A transport-level, HTTP-specific error.
-
Undocumented
See moreDeclaration
Swift
public enum ErrorKind
-
The body of the response.
Declaration
Swift
public let body: Data?
-
Information about the response as provided by the server.
Declaration
Swift
public let response: HTTPURLResponse
-
Undocumented
Declaration
Swift
public let kind: ErrorKind
-
Undocumented
Declaration
Swift
public init(body: Data? = nil, response: HTTPURLResponse, kind: ErrorKind)
-
Undocumented
Declaration
Swift
public var bodyDescription: String { get }
-
Undocumented
Declaration
Swift
public var errorDescription: String? { get }