SwiftstructOpenAPIRuntimeInternal
struct OpenAPIRuntimeInternal.ClientError
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolFoundation.LocalizedError
- protocolSwift.CustomStringConvertible
- protocolSwift.Error
Members 12
- field
var baseURL: Foundation.URL? - field
var causeDescription: String - field
var operationID: String+0x0 - field
var operationInput: Any+0x10 - field
var request: HTTPTypesInternal.HTTPRequest? - field
var requestBody: OpenAPIRuntimeInternal.HTTPBody? - field
var response: HTTPTypesInternal.HTTPResponse? - field
var responseBody: OpenAPIRuntimeInternal.HTTPBody? - field
var underlyingError: Error - init
init(operationID: String, operationInput: Sendable, request: HTTPTypesInternal.HTTPRequest?, requestBody: OpenAPIRuntimeInternal.HTTPBody?, baseURL: Foundation.URL?, response: HTTPTypesInternal.HTTPResponse?, responseBody: OpenAPIRuntimeInternal.HTTPBody?, causeDescription: String, underlyingError: Error) -> OpenAPIRuntimeInternal.ClientError - var
var description: String { get } - var
var errorDescription: String? { get }
Header
struct ClientError { var operationID: Swift.String var operationInput: Any var request: HTTPTypesInternal.HTTPRequest? var requestBody: OpenAPIRuntimeInternal.HTTPBody? var baseURL: Foundation.URL? var response: HTTPTypesInternal.HTTPResponse? var responseBody: OpenAPIRuntimeInternal.HTTPBody? var causeDescription: Swift.String var underlyingError: any Swift.Error init(operationID: Swift.String, operationInput: any Swift.Sendable, request: HTTPTypesInternal.HTTPRequest?, requestBody: OpenAPIRuntimeInternal.HTTPBody?, baseURL: Foundation.URL?, response: HTTPTypesInternal.HTTPResponse?, responseBody: OpenAPIRuntimeInternal.HTTPBody?, causeDescription: Swift.String, underlyingError: any Swift.Error) var description: Swift.String { get } var errorDescription: Swift.String? { get } }